diff --git a/dosagelib/plugins/c.py b/dosagelib/plugins/c.py index 57ced8a8a..6480ba53d 100755 --- a/dosagelib/plugins/c.py +++ b/dosagelib/plugins/c.py @@ -411,11 +411,11 @@ class Curvy(_BasicScraper): class CyanideAndHappiness(_BasicScraper): url = 'http://www.explosm.net/comics/' - starter = bounceStarter(url, compile(tagre("a", "href", r"(/comics/\d+/)", before="next"))) + starter = bounceStarter(url, compile(tagre("a", "href", r"(/comics/\d+/)", after="next-comic"))) stripUrl = url + '%s/' firstStripUrl = stripUrl % '15' - 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")) + imageSearch = compile(tagre("img", "src", r'(//files.explosm.net/comics/[^"]+)', before="main-comic")) + prevSearch = compile(tagre("a", "href", r'(/comics/\d+/)', after="previous-comic")) help = 'Index format: n (unpadded)' def shouldSkipUrl(self, url, data):