fixed ScandinaviaAndTheWorld
This commit is contained in:
parent
545a67111e
commit
e2d01e4924
1 changed files with 4 additions and 4 deletions
|
@ -56,13 +56,13 @@ class SandraOnTheRocks(_BasicScraper):
|
||||||
help = 'Index format: name'
|
help = 'Index format: name'
|
||||||
|
|
||||||
|
|
||||||
class ScandinaviaAndTheWorld(_BasicScraper):
|
class ScandinaviaAndTheWorld(_ParserScraper):
|
||||||
url = 'http://satwcomic.com/'
|
url = 'http://satwcomic.com/'
|
||||||
rurl = escape(url)
|
|
||||||
stripUrl = url + '%s'
|
stripUrl = url + '%s'
|
||||||
firstStripUrl = stripUrl % 'sweden-denmark-and-norway'
|
firstStripUrl = stripUrl % 'sweden-denmark-and-norway'
|
||||||
imageSearch = compile(tagre("img", "src", r'(%sart/[^"/]+)' % rurl))
|
starter = indirectStarter(url, '//a[text()="View latest comic"]')
|
||||||
prevSearch = compile(tagre("a", "href", r'(%s[^"/]+)' % rurl)+"\s*"+tagre('span', 'class', 'spritePrevious'))
|
imageSearch = '//img[@itemprop="image"]'
|
||||||
|
prevSearch = '//a[@accesskey="p"]'
|
||||||
help = 'Index format: stripname'
|
help = 'Index format: stripname'
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue