Fix PvPOnline

This commit is contained in:
Techwolf 2019-08-03 16:58:11 -07:00 committed by Tobias Gruetzmacher
parent 7e9ca4daba
commit d39055e494

View file

@ -272,10 +272,9 @@ class PS238(_ParserScraper):
help = 'Index format: yyyy-mm-dd' help = 'Index format: yyyy-mm-dd'
class PvPonline(_BasicScraper): class PvPOnline(_ParserScraper):
url = 'http://pvponline.com/comic' url = 'http://pvponline.com/comic/'
stripUrl = url + '%s' stripUrl = url + '%s'
imageSearch = compile(tagre("img", "src", r'(http://s3[^"]+\.amazonaws\.com/pvponlinenew/img/comic/\d+/\d+/pvp[^"]+\.jpg)')) firstStripUrl = stripUrl % 'mon-may-04'
prevSearch = compile(tagre("a", "href", r'(/comic/[^"]+)', imageSearch = '//section[@class="comic-art"]/img'
after="left divider")) prevSearch = '//div[contains(@class, "comic-nav")]/a[contains(text(), "Prev")]'
help = 'Index format: yyyy/mm/dd/stripname'