CucumberQuest fixes.

This commit is contained in:
Bastian Kleineidam 2013-03-21 18:38:40 +01:00
parent 3f6df92fef
commit 2b98cf0079

View file

@ -330,8 +330,9 @@ class CraftedFables(_BasicScraper):
class CucumberQuest(_BasicScraper): class CucumberQuest(_BasicScraper):
url = 'http://cucumber.gigidigi.com/' url = 'http://cucumber.gigidigi.com/'
stripUrl = url + 'archive/%s/' stripUrl = url + 'archive/%s/'
firstStripUrl = stripUrl % 'page-1'
starter = indirectStarter(url + 'recent.html', starter = indirectStarter(url + 'recent.html',
compile(r'window\.location="(/archive/page-\d+/)"')) compile(r'window\.location="(/archive/[^"]+/)"'))
imageSearch = compile(tagre("img", "src", r'(http://cucumber\.gigidigi\.com/wp-content/webcomic/cq/[^"]+)')) imageSearch = compile(tagre("img", "src", r'(http://cucumber\.gigidigi\.com/wp-content/webcomic/cq/[^"]+)'))
prevSearch = compile(tagre("a", "href", r'(http://cucumber\.gigidigi\.com/archive/[^"]+/)', after="previous")) prevSearch = compile(tagre("a", "href", r'(http://cucumber\.gigidigi\.com/archive/[^"]+/)', after="previous"))
help = 'Index format: stripname' help = 'Index format: stripname'