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.
zdf extractor 2014.02.22.1 #2446
Comments
|
Thanks for the report, fixed. This will be available in next release of |
|
This has been fixed in youtube-dl 2014.02.24. Use |
youtube-dl -F --verbose http://www.zdf.de/ZDFmediathek/beitrag/video/2076072/Unterschaetzte-Gefahr-von-rechts
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-F', '--verbose', 'http://www.zdf.de/ZDFmediathek/beitrag/video/2076072/Unterschaetzte-Gefahr-von-rechts']
[debug] Encodings: locale 'UTF-8', fs 'utf-8', out 'UTF-8', pref: 'UTF-8'
[debug] youtube-dl version 2014.02.21.1
[debug] Python version 3.3.4 - Linux-3.12.9-1-ARCH-i686-with-arch
[debug] Proxy map: {}
[ZDF] 2076072: Downloading video info
Traceback (most recent call last):
File "/usr/bin/youtube-dl", line 9, in
load_entry_point('youtube-dl==2014.02.21.1', 'console_scripts', 'youtube-dl')()
File "/usr/lib/python3.3/site-packages/youtube_dl/init.py", line 804, in main
_real_main(argv)
File "/usr/lib/python3.3/site-packages/youtube_dl/init.py", line 794, in _real_main
retcode = ydl.download(all_urls)
File "/usr/lib/python3.3/site-packages/youtube_dl/YoutubeDL.py", line 982, in download
self.extract_info(url)
File "/usr/lib/python3.3/site-packages/youtube_dl/YoutubeDL.py", line 493, in extract_info
ie_result = ie.extract(url)
File "/usr/lib/python3.3/site-packages/youtube_dl/extractor/common.py", line 158, in extract
return self._real_extract(url)
File "/usr/lib/python3.3/site-packages/youtube_dl/extractor/zdf.py", line 99, in _real_extract
map(xml_to_format, format_nodes)))
File "/usr/lib/python3.3/site-packages/youtube_dl/extractor/zdf.py", line 74, in xml_to_format
vbr = int(fnode.find('./videoBitrate').text) // 1000
AttributeError: 'NoneType' object has no attribute 'text'
I try python 3.3.4 and 2.7.
main site youtube-dl work fine.
youtube-dl --verbose -F http://www.zdf.de/ZDFmediathek/beitrag/video/2097460/ZDF-heute-Sendung-vom-23.-Februar-2014?bc=svp;sv0
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '-F', 'http://www.zdf.de/ZDFmediathek/beitrag/video/2097460/ZDF-heute-Sendung-vom-23.-Februar-2014?bc=svp']
[debug] Encodings: locale 'UTF-8', fs 'utf-8', out 'UTF-8', pref: 'UTF-8'
[debug] youtube-dl version 2014.02.21.1
[debug] Python version 3.3.4 - Linux-3.12.9-1-ARCH-i686-with-arch
[debug] Proxy map: {}
[ZDF] 2097460: Downloading video info
[info] Available formats for 2097460:
format code extension resolution note
h264_aac_f4f_http_f4m_http-med f4f 480x272 (unsupported) , h264@ 380k, aac @ 56k, 27.91MiB (worst)
.........................