Fix Drive (fixes #318)
This commit is contained in:
parent
50a656bb6f
commit
6e138a0228
1 changed files with 5 additions and 7 deletions
|
@ -350,14 +350,12 @@ class DrFun(_ParserScraper):
|
||||||
help = 'Index format: nnnnn'
|
help = 'Index format: nnnnn'
|
||||||
|
|
||||||
|
|
||||||
class Drive(_BasicScraper):
|
class Drive(ParserScraper):
|
||||||
url = 'http://www.drivecomic.com/'
|
url = 'http://www.drivecomic.com/'
|
||||||
rurl = escape(url)
|
firstStripUrl = url + 'comic/act-1-pg-001/'
|
||||||
stripUrl = url + 'archive/%s.html'
|
imageSearch = ('//div[@id="unspliced-comic"]//img/@data-src-img',
|
||||||
firstStripUrl = stripUrl % '090815'
|
'//div[@id="unspliced-comic"]//picture//img')
|
||||||
imageSearch = compile(tagre("img", "src", r'(http://cdn\.drivecomic\.com/strips/main/[^"]+)'))
|
prevSearch = '//a[d:class("previous-comic")]'
|
||||||
prevSearch = compile(tagre("a", "href", r'(%sarchive/\d+\.html)' % rurl) + "Previous")
|
|
||||||
help = 'Index format: yymmdd'
|
|
||||||
|
|
||||||
|
|
||||||
class DrMcNinja(_ParserScraper):
|
class DrMcNinja(_ParserScraper):
|
||||||
|
|
Loading…
Reference in a new issue