1
from re import compile, IGNORECASE
3
from dosage.helpers import BasicScraper
5
class VGCats(BasicScraper):
6
latestUrl = 'http://www.vgcats.com/comics/'
7
imageUrl = 'http://www.vgcats.com/comics/?strip_id=%s'
8
imageSearch = compile(r'<img src="(images/\d{6}\..+?)"')
9
prevSearch = compile(r'<a href="(\?strip_id=\d+)"><img src="back.gif" border="0"')
10
help = 'Index format: n (unpadded)'
13
class ViiviJaWagner(BasicScraper):
14
latestUrl = 'http://www.hs.fi/viivijawagner/'
15
imageUrl = 'http://www.hs.fi/viivijawagner/%s'
16
imageSearch = compile(r'<img src="(/kuvat/iso_webkuva/\d+\.gif)" align="center" BORDER="0" ALT="" TITLE="">', IGNORECASE)
17
prevSearch = compile(r'<a href="(/viivijawagner/\d+)" class="pro85"><img src="http://www\.hs\.fi/static/hs/img/viivitaakse\.gif" width="60" height="56" border="0" alt="edellinen" title="edellinen">EDELLINEN</a>', IGNORECASE)