Fix ViiviJaWagner.
This commit is contained in:
parent
89ada9de7e
commit
3b33129e58
1 changed files with 2 additions and 1 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue