-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error on script.py line 97 #83
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Download FREE eBook every day from www.packtpub.com
@see github.com/niqdev/packtpub-crawler
[] 2017-11-26 01:56 - fetching today's eBooks
[] configuration file: /packtpub-crawler/config/prod.cfg
[] getting daily free eBook
[] fetching url... 200 | https://www.packtpub.com/packt/offers/free-learning
[] fetching url... 200 | https://www.packtpub.com//packt/offers/free-learning?login=1
[-] <type 'exceptions.IndexError'> list index out of range | spider.py@97
Traceback (most recent call last):
File "script/spider.py", line 97, in main
packtpub.runDaily()
File "/packtpub-crawler/script/packtpub.py", line 161, in runDaily
self.__parseDailyBookInfo(soup)
File "/packtpub-crawler/script/packtpub.py", line 93, in __parseDailyBookInfo
self.info['url_claim'] = self.__url_base + div_target.select('a.twelve-days-claim')[0]['href']
IndexError: list index out of range
[] no free eBook from newsletter right now
[*] done
The text was updated successfully, but these errors were encountered: