Fix PvPOnline

This commit is contained in:
Techwolf 2023-06-06 23:40:17 -07:00 committed by Tobias Gruetzmacher
parent 5d6321f79e
commit 734326106d
No known key found for this signature in database

View file

@ -334,8 +334,10 @@ class PS238(_ParserScraper):
class PvPOnline(ParserScraper):
baseUrl = 'https://www.toonhoundstudios.com/'
url = baseUrl + 'pvp/'
stripUrl = baseUrl + 'comic/%s/?sid=372'
stripUrl = baseUrl + 'comic/%s/'
firstStripUrl = stripUrl % '19980504'
imageSearch = '//div[@id="spliced-comic"]//img/@data-src-img'
prevSearch = '//div[d:class("comic-nav")]//a[d:class("prev")]'
help = 'Older pages need a Patreon subscription'
prevSearch = '//a[d:class("prev")]'
def namer(self, imageUrl, pageUrl):
return 'pvp' + imageUrl.rsplit('/', 1)[-1]