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"))