~stuart-lumgair/dosage/stuarts_plugins

« back to all changes in this revision

Viewing changes to dosage/plugins/n.py

  • Committer: stuart-lumgair
  • Date: 2010-05-16 20:50:16 UTC
  • Revision ID: stuart.lumgair@gmail.com-20100516205016-7c15sr6zs73ettym
repair NamirDeiter

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
class NamirDeiter(BasicScraper):
8
8
    latestUrl = 'http://www.namirdeiter.com/'
9
9
    imageUrl = 'http://www.namirdeiter.com/comics/index.php?date=%s'
10
 
    imageSearch = compile(r'<img.+?(/comics/\d{8}.+?)[\'|\"]')
11
 
    prevSearch = compile(r'(/comics/index.php\?date=.+?|http://www.namirdeiter.com/comics/index.php\?date=.+?)[\'|\"].+?previous')
 
10
    imageSearch = compile(r"<img.+?(/comics/\d{8}.+?)['|>]")
 
11
    prevSearch = compile(r"(http://www.namirdeiter.com/comics/index.php.+?)'.+?[P|p]revious")
12
12
    help = 'Index format: yyyymmdd'
13
13
 
14
14