Merge pull request #185 from frater/comic-fixes-and-additions

Comic fixes and additions
This commit is contained in:
Tobias Gruetzmacher 2021-03-19 01:04:45 +01:00 committed by GitHub
commit 8a2537055a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View file

@ -453,10 +453,10 @@ class CutLoose(_ParserScraper):
class CyanideAndHappiness(_BasicScraper):
url = 'http://www.explosm.net/'
url = 'https://explosm.net/comics/'
stripUrl = url + '%s/'
firstStripUrl = stripUrl % '15'
imageSearch = compile(tagre("img", "src", r'(//files.explosm.net/comics/[^"]+)', before="main-comic"))
imageSearch = compile(tagre("img", "src", r'(.*files.explosm.net/[^/]+/[^"]+)', before="main-comic"))
prevSearch = compile(tagre("a", "href", r'(/comics/\d+/)', after="nav-previous"))
nextSearch = compile(tagre("a", "href", r"(/comics/\d+/)", after="nav-next"))
help = 'Index format: n (unpadded)'

View file

@ -141,6 +141,7 @@ class WebToons(_ParserScraper):
cls('Dragnarok', 'fantasy/dragnarok', 1018),
cls('DragnarokDescendants', 'fantasy/dragnarok-descendants', 1433),
cls('DrFrost', 'drama/dr-frost', 371),
cls('DungeonMinis', 'challenge/dungeonminis', 64132),
cls('Dustinteractive', 'comedy/dustinteractive', 907),
cls('DutyAfterSchool', 'sf/duty-after-school', 370),
cls('EatFighter', 'sports/eat-fighter', 1460),
@ -166,6 +167,7 @@ class WebToons(_ParserScraper):
cls('FourLeaf', 'fantasy/four-leaf', 1454),
cls('FreakingRomance', 'romance/freaking-romance', 1467),
cls('FridayForbiddenTales', 'thriller/friday', 388),
cls('GameMasters', 'challenge/game-masters', 237252),
cls('GenshinImpact', 'challenge/genshin-impact', 242646),
cls('Gepetto', 'sf/gepetto', 81),
cls('GhostsAmongTheWildFlowers', 'fantasy/ghosts-over-wild-flowers', 718),
@ -282,6 +284,7 @@ class WebToons(_ParserScraper):
cls('NothingSpecial', 'fantasy/nothing-special', 1188),
cls('OddGirlOut', 'drama/odd-girl-out', 1420),
cls('OhHoly', 'romance/oh-holy', 809),
cls('OmniscientReader', 'action/omniscient-reader', 2154),
cls('ORANGEMARMALADE', 'romance/orange-marmalade', 97),
cls('Outrage', 'super-hero/outrage', 1450),
cls('OVERPOWERED', 'challenge/overpowered', 85292),
@ -372,6 +375,7 @@ class WebToons(_ParserScraper):
cls('TheStoriesOfThoseAroundMe', 'romance/the-stories-of-those-around-me', 96),
cls('TheStrangeTalesOfOscarZahn', 'fantasy/the-strange-tales-of-oscar-zahn', 685),
cls('TheVaultOfHorrorACollectionOfNightmares', 'horror/the-vault-of-horror-a-collection-of-nightmares', 295),
cls('TheWeeklyRoll', 'challenge/the-weekly-roll', 358889),
cls('TheWeightOfOurSky', 'historical/the-weight-of-our-sky', 1739),
cls('TheWitchAndTheBull', 'fantasy/the-witch-and-the-bull', 1892),
cls('TheWolfmanOfWulvershire', 'mystery/the-wolfman-of-wulvershire', 1784),