You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since this week's newsletter, it started to throw the following exception. My guess is, that the structure of the landing page changed somewhat.
[*] fetching url... 200 | https://www.packtpub.com/packt/free-ebook/what-you-need-know-about-angular-2
[-] <type 'exceptions.IndexError'> list index out of range | spider.py@125
Traceback (most recent call last):
File "script/spider.py", line 125, in main
packtpub.runNewsletter(currentNewsletterUrl)
File "/home/mira/packtpub-crawler/script/packtpub.py", line 169, in runNewsletter
self.__parseNewsletterBookInfo(soup)
File "/home/mira/packtpub-crawler/script/packtpub.py", line 101, in __parseNewsletterBookInfo
urlWithTitle = div_target.select('div.promo-landing-book-picture a')[0]['href']
IndexError: list index out of range
The text was updated successfully, but these errors were encountered:
oujesky
changed the title
IndexError: list index out of range while fetching newsletter
"IndexError: list index out of range" while fetching newsletter
Apr 2, 2017
Since this week's newsletter, it started to throw the following exception. My guess is, that the structure of the landing page changed somewhat.
The text was updated successfully, but these errors were encountered: