~dosage-dev/dosage/bunch-of-comics

« back to all changes in this revision

Viewing changes to dosage/plugins/l.py

  • Committer: Tristan Seligmann
  • Date: 2010-01-03 16:04:28 UTC
  • Revision ID: mithrandi@mithrandi.net-20100103160428-ouyxjwhe97mvju9x
Add LegoRobot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
#    prevSearch=compile(r'<a href="(index.php\?comicid=\d+)"><img src="/images/gprev.gif"', IGNORECASE),
99
99
#    help='Index format: n (unpadded)',
100
100
#    namer=queryNamer('comicid'))
 
101
 
 
102
 
 
103
class LegoRobot(BasicScraper):
 
104
    latestUrl = 'http://www.legorobotcomics.com/'
 
105
    imageUrl = 'http://www.legorobotcomics.com/?id=%s'
 
106
    imageSearch = compile(r'id="the_comic" src="(comics/.+?)"')
 
107
    prevSearch = compile(r'(\?id=\d+)"><img src="images/back.png"')
 
108
    help = 'Index format: nnnn'