Cyanide & Happiness regex change
Small modification to fix failures on several outlier comics where the URL was set differently.
This commit is contained in:
parent
59e7e16100
commit
a7db3db83d
1 changed files with 1 additions and 1 deletions
|
@ -456,7 +456,7 @@ class CyanideAndHappiness(_BasicScraper):
|
|||
url = 'http://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)'
|
||||
|
|
Loading…
Reference in a new issue