Fixes to avoid redirect and whitespace warnings.

This commit is contained in:
Nick Bronson 2021-03-18 18:08:39 +11:00
parent a7db3db83d
commit eac197afc2
2 changed files with 2 additions and 2 deletions

View file

@ -453,7 +453,7 @@ class CutLoose(_ParserScraper):
class CyanideAndHappiness(_BasicScraper): class CyanideAndHappiness(_BasicScraper):
url = 'http://explosm.net/comics/' url = 'https://explosm.net/comics/'
stripUrl = url + '%s/' stripUrl = url + '%s/'
firstStripUrl = stripUrl % '15' firstStripUrl = stripUrl % '15'
imageSearch = compile(tagre("img", "src", r'(.*files.explosm.net/[^/]+/[^"]+)', before="main-comic")) imageSearch = compile(tagre("img", "src", r'(.*files.explosm.net/[^/]+/[^"]+)', before="main-comic"))

View file

@ -167,7 +167,7 @@ class WebToons(_ParserScraper):
cls('FourLeaf', 'fantasy/four-leaf', 1454), cls('FourLeaf', 'fantasy/four-leaf', 1454),
cls('FreakingRomance', 'romance/freaking-romance', 1467), cls('FreakingRomance', 'romance/freaking-romance', 1467),
cls('FridayForbiddenTales', 'thriller/friday', 388), cls('FridayForbiddenTales', 'thriller/friday', 388),
cls('GameMasters', 'challenge/game-masters',237252), cls('GameMasters', 'challenge/game-masters', 237252),
cls('GenshinImpact', 'challenge/genshin-impact', 242646), cls('GenshinImpact', 'challenge/genshin-impact', 242646),
cls('Gepetto', 'sf/gepetto', 81), cls('Gepetto', 'sf/gepetto', 81),
cls('GhostsAmongTheWildFlowers', 'fantasy/ghosts-over-wild-flowers', 718), cls('GhostsAmongTheWildFlowers', 'fantasy/ghosts-over-wild-flowers', 718),