Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
infoq download broken? #722
Comments
|
Oops, that's a 3.3 error, fixed in 967897f. However, rtmpdump doesn't download a usable file for me indeed. We'll have to investigate, thanks for the report. |
|
Thank you for the great work. FWIW, I just tried with the version in master and it's still broken. Appending output below in the hopes it makes finding the problem easier: [InfoQ] http://www.infoq.com/presentations/Zolodeck: Downloading video webpage |
|
I'm not a youtube-dl user, I found this issue by chance. I'm the author of infoqscraper, and you are most likely facing the same issue that I had to handle few months ago. Basically, InfoQ changed their rtmp settings when they replaced flv by mp4. Was: Please note that old presentations have not been converted into mp4, but you must use the new rtmpdump command. The prefix is If you are interested in downloading a presentation with its soundtrack and slides as video stream rather than the speaker, you can try infoqscraper. |
|
Wow, great info! I looked into infoqscraper while looking for a temporary solution but I had an issue because I'm not a Python guy and archlinux uses Python 3 as /usr/bin/python, so setup is a little complicated. So ultimately I opted to use UA bluffing to get a direct link to the mp4 file of the videos I wanted. It would be great though if this fix made it into youtube-dl. As for me, I'd love to get infoqscraper working because the videos themselves ignore the slides, making the presentations difficult to follow. I will take another look at it. On Mar 23, 2013 6:51 AM, "cykl" notifications@github.com wrote:
|
|
I just gave a look at the youtube-dl source code and tried to use it and I can confirm the problem and its solution:
It no longer works for InfoQ. I'm not a rtmpdump expert but I have been able to download the video with the following command:
I don't see an obvious way to patch BTW: I just released a new 0.0.3 version to add support of arch linux/python2. Fell free to fill a bug report and send me an email next time ;) |
|
I can download the video, but the file is suffixed with |
|
Thank you for the report. This has been fixed in youtube-dl 2014.04.21.1. Type |
Command:
youtube-dl --verbose "http://www.infoq.com/presentations/Clojure-Reducers"
Output:
[debug] youtube-dl version 2013.02.22
[debug] Python version 3.3.0 - Linux-3.7.9-2-ARCH-i686-with-arch
[debug] Proxy map: {}
[InfoQ] http://www.infoq.com/presentations/Clojure-Reducers: Downloading video webpage
[InfoQ] http://www.infoq.com/presentations/Clojure-Reducers: Extracting information
[download] Destination: Reducers - A Library and Model for Collection Processing-12-jun-reducers.mp4
Traceback (most recent call last):
File "/usr/bin/youtube-dl", line 6, in
youtube_dl.main()
File "/usr/lib/python3.3/site-packages/youtube_dl/init.py", line 516, in main
_real_main()
File "/usr/lib/python3.3/site-packages/youtube_dl/init.py", line 500, in _real_main
retcode = fd.download(all_urls)
File "/usr/lib/python3.3/site-packages/youtube_dl/FileDownloader.py", line 525, in download
self.process_info(video)
File "/usr/lib/python3.3/site-packages/youtube_dl/FileDownloader.py", line 468, in process_info
success = self._do_download(filename, info_dict)
File "/usr/lib/python3.3/site-packages/youtube_dl/FileDownloader.py", line 632, in _do_download
info_dict.get('page_url', None))
File "/usr/lib/python3.3/site-packages/youtube_dl/FileDownloader.py", line 566, in _download_with_rtmpdump
subprocess.call(['rtmpdump', '-h'], stdout=(file(os.path.devnull, 'w')), stderr=subprocess.STDOUT)
NameError: global name 'file' is not defined
Version:
2013.02.22
Python
Python 3.3.0
OS:
GNU/Linux 3.7.9-2-ARCH i686