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' 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'