Fix PvPOnline
This commit is contained in:
parent
7e9ca4daba
commit
d39055e494
1 changed files with 5 additions and 6 deletions
|
@ -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'
|
|
||||||
|
|
Loading…
Reference in a new issue