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

« back to all changes in this revision

Viewing changes to dosage/plugins/h.py

  • Committer: ns
  • Date: 2009-12-01 07:00:22 UTC
  • Revision ID: ns@ww1aviationlinks.cjb.net-20091201070022-qkhn13d7xsoi35eu
repair TheWhiteboard by removing indirectStarter

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
from re import compile
 
2
 
 
3
from dosage.helpers import BasicScraper
 
4
 
 
5
 
 
6
class HappyMedium(BasicScraper):
 
7
    latestUrl = 'http://happymedium.fast-bee.com/'
 
8
    imageUrl = 'http://happymedium.fast-bee.com/%s'
 
9
    imageSearch = compile(r'(/comics/.+?)"')
 
10
    prevSearch = compile(r'com(/.+?)".+?"prev">&#9668')
 
11
    help = 'Index format: yyyy/mm/chapter-n-page-n'
 
12
 
 
13
 
 
14
class Heliothaumic(BasicScraper):
 
15
    latestUrl = 'http://thaumic.net/'
 
16
    imageUrl = 'http://thaumic.net/%s'
 
17
    imageSearch = compile(r'"(http://thaumic.net/comics/.+?)"')
 
18
    prevSearch = compile(r'"(http://thaumic.net/.+?)".+?="prev"')
 
19
    help = 'Index format: yyyy/mm/dd/n(unpadded)-comicname'
 
20
 
 
21
 
 
22
class Housd(BasicScraper):
 
23
    latestUrl = 'http://www.housd.net/'
 
24
    imageUrl = 'http://housd.net/archive_page.php?comicID=%s'
 
25
    imageSearch = compile(r'"(.+?/comics/.+?)"')
 
26
    prevSearch = compile(r'"(h.+?comicID=.+?)".+?prev')
 
27
    help = 'Index format: nnnn'