Fix ViiviJaWagner.

This commit is contained in:
Tobias Gruetzmacher 2015-04-18 22:45:13 +02:00
parent 89ada9de7e
commit 3b33129e58

View file

@ -51,9 +51,10 @@ class VictimsOfTheSystem(_BasicScraper):
class ViiviJaWagner(_BasicScraper): class ViiviJaWagner(_BasicScraper):
url = 'http://www.hs.fi/viivijawagner/' url = 'http://www.hs.fi/viivijawagner/'
stripUrl = None stripUrl = None
imageSearch = compile(tagre("link", "href", r'(http://hs\d+\.snstatic\.fi/webkuva/oletus/[^"]+)', before="image_src")) imageSearch = compile(tagre("img", "src", r'(http://hs\d+\.snstatic\.fi/webkuva/sarjis/[^"]+)'))
prevSearch = compile(tagre("a", "href", r'(/viivijawagner/[^"]+)', before="prev-cm")) prevSearch = compile(tagre("a", "href", r'(/viivijawagner/[^"]+)', before="prev-cm"))
help = 'Index format: none' help = 'Index format: none'
lang = 'fi'
@classmethod @classmethod
def namer(cls, imageUrl, pageUrl): def namer(cls, imageUrl, pageUrl):