diff --git a/dosagelib/plugins/c.py b/dosagelib/plugins/c.py index 39d072a86..41a38024c 100644 --- a/dosagelib/plugins/c.py +++ b/dosagelib/plugins/c.py @@ -5,7 +5,7 @@ from re import compile from ..scraper import _BasicScraper -from ..helpers import bounceStarter +from ..helpers import bounceStarter, indirectStarter from ..util import tagre @@ -278,9 +278,13 @@ class Champ2010(_BasicScraper): class Chucklebrain(_BasicScraper): url = 'http://www.chucklebrain.com/main.php' + starter = indirectStarter(url, + compile(tagre("a", "href", r'(/main\.php\?img\=\d+)', quote="'") + + tagre("img", "src", r'/images/last\.jpg', quote="'"))) stripUrl = url + '?img=%s' imageSearch = compile(tagre("img", "src", r'(/images/strip[^"]+)')) - prevSearch = compile(r'