Fix PvPOnline
This commit is contained in:
parent
5d6321f79e
commit
734326106d
1 changed files with 5 additions and 3 deletions
|
@ -334,8 +334,10 @@ class PS238(_ParserScraper):
|
||||||
class PvPOnline(ParserScraper):
|
class PvPOnline(ParserScraper):
|
||||||
baseUrl = 'https://www.toonhoundstudios.com/'
|
baseUrl = 'https://www.toonhoundstudios.com/'
|
||||||
url = baseUrl + 'pvp/'
|
url = baseUrl + 'pvp/'
|
||||||
stripUrl = baseUrl + 'comic/%s/?sid=372'
|
stripUrl = baseUrl + 'comic/%s/'
|
||||||
firstStripUrl = stripUrl % '19980504'
|
firstStripUrl = stripUrl % '19980504'
|
||||||
imageSearch = '//div[@id="spliced-comic"]//img/@data-src-img'
|
imageSearch = '//div[@id="spliced-comic"]//img/@data-src-img'
|
||||||
prevSearch = '//div[d:class("comic-nav")]//a[d:class("prev")]'
|
prevSearch = '//a[d:class("prev")]'
|
||||||
help = 'Older pages need a Patreon subscription'
|
|
||||||
|
def namer(self, imageUrl, pageUrl):
|
||||||
|
return 'pvp' + imageUrl.rsplit('/', 1)[-1]
|
||||||
|
|
Loading…
Reference in a new issue