Fix Flipside
This commit is contained in:
parent
d370ac5612
commit
138f6001db
1 changed files with 3 additions and 5 deletions
|
@ -82,14 +82,12 @@ class Flemcomics(_BasicScraper):
|
||||||
help = 'Index format: yyyymmdd'
|
help = 'Index format: yyyymmdd'
|
||||||
|
|
||||||
|
|
||||||
class Flipside(_BasicScraper):
|
class Flipside(_ParserScraper):
|
||||||
url = 'http://flipside.keenspot.com/comic.php'
|
url = 'http://flipside.keenspot.com/comic.php'
|
||||||
rurl = escape(url)
|
|
||||||
stripUrl = url + '?i=%s'
|
stripUrl = url + '?i=%s'
|
||||||
firstStripUrl = stripUrl % '1'
|
firstStripUrl = stripUrl % '1'
|
||||||
imageSearch = compile(tagre("img", "src", r'(http://cdn\.flipside\.keenspot\.com/comic/[^"]+)'))
|
imageSearch = '//img[contains(@src, "comic/")]'
|
||||||
prevSearch = compile(tagre("a", "href", r'(%s\?i=\d+)' % rurl,
|
prevSearch = '//a[@rel="prev"]'
|
||||||
after="prev"))
|
|
||||||
help = 'Index format: nnnn'
|
help = 'Index format: nnnn'
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue