Fix Flipside

This commit is contained in:
Techwolf 2019-07-04 20:04:27 -07:00 committed by Tobias Gruetzmacher
parent d370ac5612
commit 138f6001db

View file

@ -82,14 +82,12 @@ class Flemcomics(_BasicScraper):
help = 'Index format: yyyymmdd'
class Flipside(_BasicScraper):
class Flipside(_ParserScraper):
url = 'http://flipside.keenspot.com/comic.php'
rurl = escape(url)
stripUrl = url + '?i=%s'
firstStripUrl = stripUrl % '1'
imageSearch = compile(tagre("img", "src", r'(http://cdn\.flipside\.keenspot\.com/comic/[^"]+)'))
prevSearch = compile(tagre("a", "href", r'(%s\?i=\d+)' % rurl,
after="prev"))
imageSearch = '//img[contains(@src, "comic/")]'
prevSearch = '//a[@rel="prev"]'
help = 'Index format: nnnn'