Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zdf extractor 2014.02.22.1 #2446

Closed
peternorman1900 opened this issue Feb 23, 2014 · 2 comments
Closed

zdf extractor 2014.02.22.1 #2446

peternorman1900 opened this issue Feb 23, 2014 · 2 comments

Comments

@peternorman1900
Copy link

@peternorman1900 peternorman1900 commented Feb 23, 2014

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)
.........................

@dstftw dstftw closed this in 919052d Feb 24, 2014
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Feb 24, 2014

Thanks for the report, fixed. This will be available in next release of youtube-dl.

@phihag
Copy link
Contributor

@phihag phihag commented Feb 24, 2014

This has been fixed in youtube-dl 2014.02.24. Use pacman -Syu to update as soon as their package is on 2014.02.24 or newer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.