Added PS238

This commit is contained in:
DirkReiners 2015-04-16 18:20:14 -05:00
parent 6afba3c580
commit 49b964cb3c

View file

@ -3,7 +3,7 @@
# Copyright (C) 2012-2014 Bastian Kleineidam
from re import compile, escape
from ..scraper import _BasicScraper
from ..scraper import _BasicScraper, _ParserScraper
from ..helpers import bounceStarter, queryNamer, indirectStarter
from ..util import tagre
@ -235,6 +235,15 @@ class Precocious(_BasicScraper):
help = 'Index format: yyyy/mm/dd'
class PS238(_ParserScraper):
url = 'http://ps238.nodwick.com/'
stripUrl = url + '/comic/%s/'
starter = bounceStarter(url, '//a[@class="comic-nav-base comic-nav-next"]')
imageSearch = '//div[@id="comic"]//img'
prevSearch = '//a[@class="comic-nav-base comic-nav-previous"]'
help = 'Index format: yyyy-mm-dd'
class ProperBarn(_BasicScraper):
url = 'http://www.nitrocosm.com/go/gag/'
stripUrl = url + '%s/'