Added RealmOfAtland.

This commit is contained in:
Bastian Kleineidam 2013-04-09 19:37:47 +02:00
parent f9179e9de5
commit 68f14971e8
2 changed files with 10 additions and 1 deletions

View file

@ -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.

View file

@ -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>'))