added support for dragonballsupermanga.net

This commit is contained in:
Bryan Bailey
2022-03-14 10:29:50 -04:00
parent 28b8a199f6
commit a5c0f83cd4
2 changed files with 3 additions and 2 deletions

View File

@@ -26,7 +26,8 @@ class Comic(Scrapable):
soup = {
'default': self.soup.find_all('div', class_='separator'),
'no-div': self.soup.find_all('img', attrs={'width': '1000px'}),
'excaliber': self.soup.find_all('img')
'excaliber': self.soup.find_all('img'),
'dbsuper': self.soup.findAll('meta', attrs={'property': 'twitter:image'})
}
for case in soup.keys():

View File

@@ -13,5 +13,5 @@ library_path = os.path.abspath(os.path.join(os.environ.get('HOME'), 'yoink/libra
required_comic_files = ('.cbr', '.cbz', '000.jpg', '001.jpg')
skippable_images = ('logo-1.png', 'logo.png', 'report.png', 'request.png', 'prev.png', 'Next.png', 'Donate.png', '11.png')
torrent_concurrent_download_limit = 1
supported_sites = ['readallcomics.com', 'tpb.party']
supported_sites = ['readallcomics.com', 'tpb.party', 'dragonballsupermanga.net']
headers = {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36'}