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