Added ZenPencils.

This commit is contained in:
Bastian Kleineidam 2013-04-09 19:38:47 +02:00
parent e040dd0d50
commit 3213eebd75
2 changed files with 11 additions and 1 deletions

View file

@ -2,7 +2,7 @@ Dosage 2.0 (released xx.xx.2013)
Features:
- comics: Added ExtraOrdinary, GoblinsComic, RealmOfAtland, Science,
SnowFlakes, StuffNoOneToldMe and WebDesignerCOTW.
SnowFlakes, StuffNoOneToldMe, WebDesignerCOTW and ZenPencils.
- comics: Added the --vote option to vote for popular comics.
Changes:

View file

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