Prevent scraper from moving to a different comic.
This commit is contained in:
parent
443ab119e9
commit
4e2e4ac529
1 changed files with 2 additions and 2 deletions
|
@ -12,8 +12,8 @@ class _GoComics(_ParserScraper):
|
||||||
url = 'http://www.gocomics.com/'
|
url = 'http://www.gocomics.com/'
|
||||||
imageSearch = ('//div/img[@class="strip"]',
|
imageSearch = ('//div/img[@class="strip"]',
|
||||||
'//p[@class="feature_item"]/img[@class="strip"]')
|
'//p[@class="feature_item"]/img[@class="strip"]')
|
||||||
prevSearch = '//a[@class="prev"]'
|
prevSearch = '//ul[@class="feature-nav"]//a[@class="prev"]'
|
||||||
nextSearch = '//a[@class="next"]'
|
nextSearch = '//ul[@class="feature-nav"]//a[@class="next"]'
|
||||||
help = 'Index format: yyyy/mm/dd'
|
help = 'Index format: yyyy/mm/dd'
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
Loading…
Reference in a new issue