Prevent scraper from moving to a different comic.

This commit is contained in:
Tobias Gruetzmacher 2016-04-12 08:10:47 +02:00
parent 443ab119e9
commit 4e2e4ac529

View file

@ -12,8 +12,8 @@ class _GoComics(_ParserScraper):
url = 'http://www.gocomics.com/'
imageSearch = ('//div/img[@class="strip"]',
'//p[@class="feature_item"]/img[@class="strip"]')
prevSearch = '//a[@class="prev"]'
nextSearch = '//a[@class="next"]'
prevSearch = '//ul[@class="feature-nav"]//a[@class="prev"]'
nextSearch = '//ul[@class="feature-nav"]//a[@class="next"]'
help = 'Index format: yyyy/mm/dd'
@classmethod