Fix some comics.

This commit is contained in:
Bastian Kleineidam 2013-03-08 00:06:55 +01:00
parent 2bdf0d588d
commit 0ee0822e00
2 changed files with 6 additions and 6 deletions

View file

@ -291,9 +291,9 @@ class Annyseed(_BasicScraper):
class AxeCop(_BasicScraper):
url = 'http://axecop.com/'
starter = indirectStarter(url, compile(tagre("a", "href", r'(http://axecop\.com/index\.php/acepisodes/read/episode_\d+/)')))
stripUrl = url + 'index.php/acepisodes/read/episode_%s/'
firstStripUrl = stripUrl % '0'
imageSearch = compile(tagre("img", "src", r'(http://axecop\.com/images/uploads/(?:axecop|acmarried)[^"]+)'))
prevSearch = compile(tagre("a", "href", r'(http://axecop\.com/index\.php/acepisodes/read/episode_\d+/)') +
stripUrl = url + 'index.php/acepisodes/read/%s/'
firstStripUrl = stripUrl % 'episode_0'
imageSearch = compile(tagre("img", "src", r'(http://axecop\.com/images/uploads/(?:axecop|AXE-COP|acmarried|nightmonster)[^"]+)'))
prevSearch = compile(tagre("a", "href", r'(http://axecop\.com/index\.php/acepisodes/read/[^"]+)') +
tagre("img", "src", r'http://axecop\.com/acimages/buttons/page_left\.png'))
help = 'Index format: number'
help = 'Index format: stripname'

View file

@ -56,4 +56,4 @@ class Zwarwald(_BasicScraper):
help = 'Index format: number'
def shouldSkipUrl(self, url):
return url in (stripUrl % "112",)
return url in ("http://www.zwarwald.de/index.php/page/112/",)