ZenPencils: Allow multiple images per page.

This commit is contained in:
Tobias Gruetzmacher 2015-09-03 23:24:28 +02:00
parent 11f0aa3989
commit b737218182

View file

@ -47,6 +47,7 @@ class ZebraGirl(_BasicScraper):
class ZenPencils(_BasicScraper): class ZenPencils(_BasicScraper):
url = 'http://zenpencils.com/' url = 'http://zenpencils.com/'
rurl = escape(url) rurl = escape(url)
multipleImagesPerStrip = True
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"))