Fix CyanideAndHappiness image regex.
This commit is contained in:
parent
f1356a9ff8
commit
399cda21e5
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ class CyanideAndHappiness(_BasicScraper):
|
|||
_latestUrl = 'http://www.explosm.net/comics/'
|
||||
starter = bounceStarter(_latestUrl, compile(tagre("a", "href", r"(/comics/\d+/)", before="next")))
|
||||
stripUrl = _latestUrl + '%s/'
|
||||
imageSearch = compile(tagre("img", "src", r'(http://(?:www\.)?explosm\.net/db/files/Comics/[^"]+)'))
|
||||
imageSearch = compile(tagre("img", "src", r'(http://(?:www\.)?explosm\.net/db/files/(?:Comics/|comic)[^"]+)'))
|
||||
prevSearch = compile(tagre("a", "href", r'(/comics/\d+/)', before="prev"))
|
||||
help = 'Index format: n (unpadded)'
|
||||
|
||||
|
|
Loading…
Reference in a new issue