infoq-downloader icon indicating copy to clipboard operation
infoq-downloader copied to clipboard

IndexError: list index out of range

Open crazy4groovy opened this issue 8 years ago • 10 comments

C:\Users\Bob\Downloads>infoq_downloader.exe http://www.infoq.com/presentations/testng-groovy-spock

Downloading HTML file
Traceback (most recent call last):
  File "<string>", line 35, in <module>
IndexError: list index out of range

crazy4groovy avatar Mar 10 '16 19:03 crazy4groovy

I get the same error

picaron avatar Jun 07 '16 22:06 picaron

Same for https://www.infoq.com/presentations/broken-performance-tools

lamby avatar Aug 04 '16 21:08 lamby

Same for https://www.infoq.com/presentations/category-theory-propositions-principle

ajs6f avatar Aug 07 '16 20:08 ajs6f

I recommend youtube-dl, in the meantime.

crazy4groovy avatar Sep 09 '16 19:09 crazy4groovy

@crazy4groovy most conferences videos on InfoQ are not available on youtube ... hence the interest for this infoq-downloader ...

picaron avatar Sep 09 '16 20:09 picaron

Check out youtube-dl supported sites, you can find it listed there. I've tried it, and it works fab.

crazy4groovy avatar Sep 12 '16 19:09 crazy4groovy

Oh thats good to know, thanks for the info

picaron avatar Sep 14 '16 13:09 picaron

@crazy4groovy hi, yes it downloads videos, but without the presentation it's quite useless. Is there maybe a way to download also the timed slides?

invasionofsmallcubes avatar Oct 03 '16 13:10 invasionofsmallcubes

@invasionofsmallcubes It depends on the video how useful youtube-dl is, I suppose. I haven't found a way to download the slides as well..

crazy4groovy avatar Oct 04 '16 17:10 crazy4groovy

Same error but different stacktrace. Note that I'm using Python3 (and pip3 to install dependencies)

~/src/infoq-downloader$ python3 infoq_downloader.py https://www.infoq.com/presentations/Simple-Made-Easy
Downloading HTML file
Traceback (most recent call last):
  File "infoq_downloader.py", line 51, in <module>
    video_url = html_doc.cssselect('video > source')[0].attrib['src']
IndexError: list index out of range

rushiagr avatar Oct 31 '18 06:10 rushiagr