Fix URL bug for Cyanide & Happiness

This commit is contained in:
Nick Bronson 2021-03-17 20:02:28 +11:00
parent 5508539ca8
commit f05697a811

View file

@ -453,7 +453,7 @@ class CutLoose(_ParserScraper):
class CyanideAndHappiness(_BasicScraper): class CyanideAndHappiness(_BasicScraper):
url = 'http://www.explosm.net/' url = 'http://explosm.net/comics/'
stripUrl = url + '%s/' stripUrl = url + '%s/'
firstStripUrl = stripUrl % '15' 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/comics/[^"]+)', before="main-comic"))