Fix zenpencils.

This commit is contained in:
Bastian Kleineidam 2014-06-08 13:40:42 +02:00
parent 687d27d534
commit 00e424aed0

View file

@ -50,7 +50,7 @@ class ZenPencils(_BasicScraper):
stripUrl = url + 'comic/%s/' stripUrl = url + 'comic/%s/'
firstStripUrl = stripUrl % '1-ralph-waldo-emerson-make-them-cry' firstStripUrl = stripUrl % '1-ralph-waldo-emerson-make-them-cry'
prevSearch = compile(tagre("a", "href", r'(%scomic/[^"]+/)' % rurl, after="navi-prev")) prevSearch = compile(tagre("a", "href", r'(%scomic/[^"]+/)' % rurl, after="navi-prev"))
imageSearch = compile(tagre("img", "src", r'(http://maxcdn\.zenpencils\.com/comics/\d+-\d+-\d+[^"]+)')) imageSearch = compile(tagre("img", "src", r'(http://zenpencils\.com/comics/\d+-\d+-\d+[^"]+)'))
help = 'Index format: num-stripname' help = 'Index format: num-stripname'
description = u'Inspirational quotes from famous people adapted into cartoons.' description = u'Inspirational quotes from famous people adapted into cartoons.'