Added PS238
This commit is contained in:
parent
6afba3c580
commit
49b964cb3c
1 changed files with 10 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
# Copyright (C) 2012-2014 Bastian Kleineidam
|
# Copyright (C) 2012-2014 Bastian Kleineidam
|
||||||
|
|
||||||
from re import compile, escape
|
from re import compile, escape
|
||||||
from ..scraper import _BasicScraper
|
from ..scraper import _BasicScraper, _ParserScraper
|
||||||
from ..helpers import bounceStarter, queryNamer, indirectStarter
|
from ..helpers import bounceStarter, queryNamer, indirectStarter
|
||||||
from ..util import tagre
|
from ..util import tagre
|
||||||
|
|
||||||
|
@ -235,6 +235,15 @@ class Precocious(_BasicScraper):
|
||||||
help = 'Index format: yyyy/mm/dd'
|
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):
|
class ProperBarn(_BasicScraper):
|
||||||
url = 'http://www.nitrocosm.com/go/gag/'
|
url = 'http://www.nitrocosm.com/go/gag/'
|
||||||
stripUrl = url + '%s/'
|
stripUrl = url + '%s/'
|
||||||
|
|
Loading…
Reference in a new issue