Added RealmOfAtland.
This commit is contained in:
parent
f9179e9de5
commit
68f14971e8
2 changed files with 10 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
Dosage 2.0 (released xx.xx.2013)
|
Dosage 2.0 (released xx.xx.2013)
|
||||||
|
|
||||||
Features:
|
Features:
|
||||||
- comics: Added ExtraOrdinary, GoblinsComic, SnowFlakes,
|
- comics: Added ExtraOrdinary, GoblinsComic, RealmOfAtland, SnowFlakes,
|
||||||
StuffNoOneToldMe and WebDesignerCOTW.
|
StuffNoOneToldMe and WebDesignerCOTW.
|
||||||
- comics: Added the --vote option to vote for popular comics.
|
- comics: Added the --vote option to vote for popular comics.
|
||||||
|
|
||||||
|
|
|
@ -24,6 +24,15 @@ class RealLife(_BasicScraper):
|
||||||
help = 'Index format: yymmdd)'
|
help = 'Index format: yymmdd)'
|
||||||
|
|
||||||
|
|
||||||
|
class RealmOfAtland(_BasicScraper):
|
||||||
|
url = 'http://www.realmofatland.com/'
|
||||||
|
stripUrl = url + '?p=%s'
|
||||||
|
firstStripUrl = stripUrl % '1'
|
||||||
|
prevSearch = compile(tagre("a", "href", r'(\?p=\d+)', after="cg_back"))
|
||||||
|
imageSearch = compile(tagre("img", "src", r'(images/strips/atland\d+.[^"]+)'))
|
||||||
|
help = 'Index format: nnn'
|
||||||
|
|
||||||
|
|
||||||
class RedMeat(_BasicScraper):
|
class RedMeat(_BasicScraper):
|
||||||
url = 'http://www.redmeat.com/redmeat/current/index.html'
|
url = 'http://www.redmeat.com/redmeat/current/index.html'
|
||||||
starter = bounceStarter(url, compile(r'<a href="(\.\./\d{4}-\d{2}-\d{2}/index\.html)">next</a>'))
|
starter = bounceStarter(url, compile(r'<a href="(\.\./\d{4}-\d{2}-\d{2}/index\.html)">next</a>'))
|
||||||
|
|
Loading…
Reference in a new issue