Traceback (most recent call last):


 "script/spider.py", line 125, in main

packtpub.runNewsletter(currentNewsletterUrl)


 "/home/mira/packtpub-crawler/script/packtpub.py", line 169, in runNewsletter

self.__parseNewsletterBookInfo(soup)


 "/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

Traceback (most recent call last):


 "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 174, in _run_module_as_main

"__main__", fname, loader, pkg_name)


 "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code

exec code in run_globals


 "/usr/local/bin/youtube-dl/__main__.py", line 19, in <module>


 "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 474, in main


 "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 464, in _real_main


 "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2019, in download


 "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 808, in extract_info


 "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 870, in process_ie_result


 "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 797, in extract_info


 "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract


 "/usr/local/bin/youtube-dl/youtube_dl/extractor/francetv.py", line 209, in _real_extract


 "/usr/local/bin/youtube-dl/youtube_dl/extractor/francetv.py", line 103, in _extract_video
IndexError: list index out of range
