[zdf/arte] Extractor error (KeyError) with at least one title
See original GitHub issueChecklist
- I’m reporting a broken site support
- I’ve verified that I’m running youtube-dl version 2021.06.06
- I’ve checked that all provided URLs are alive and playable in a browser
- I’ve checked that all URLs and arguments with special characters are properly quoted or escaped
- I’ve searched the bugtracker for similar issues including closed ones
Verbose log
$ ~/youtube-dl --verbose 'https://www.zdf.de/arte/arte-plus-7/page-video-artede-der-mit-dem-wolf-tanzt-100.html'
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'https://www.zdf.de/arte/arte-plus-7/page-video-artede-der-mit-dem-wolf-tanzt-100.html']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.06.06
[debug] Python version 2.7.18 (CPython) - Linux-5.10.0-7-amd64-x86_64-with-debian-11.0
[debug] exe versions: ffmpeg 4.3.2-0, ffprobe 4.3.2-0, rtmpdump 2.4
[debug] Proxy map: {}
[debug] Using fake IP 53.77.8.185 (DE) as X-Forwarded-For.
[ZDF] page-video-artede-der-mit-dem-wolf-tanzt-100: Downloading webpage
[ZDF] page-video-artede-der-mit-dem-wolf-tanzt-100: Downloading JSON content
ERROR: An extractor error has occurred. (caused by KeyError(u'http://zdf.de/rels/streams/ptmd-template',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/home/michael/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
ie_result = self._real_extract(url)
File "/home/michael/youtube-dl/youtube_dl/extractor/zdf.py", line 292, in _real_extract
return self._extract_regular(url, player, video_id)
File "/home/michael/youtube-dl/youtube_dl/extractor/zdf.py", line 241, in _extract_regular
return self._extract_entry(player['content'], player, content, video_id)
File "/home/michael/youtube-dl/youtube_dl/extractor/zdf.py", line 204, in _extract_entry
'http://zdf.de/rels/streams/ptmd-template'].replace(
KeyError: u'http://zdf.de/rels/streams/ptmd-template'
Traceback (most recent call last):
File "/home/michael/youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper
return func(self, *args, **kwargs)
File "/home/michael/youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info
ie_result = ie.extract(url)
File "/home/michael/youtube-dl/youtube_dl/extractor/common.py", line 547, in extract
raise ExtractorError('An extractor error has occurred.', cause=e)
ExtractorError: An extractor error has occurred. (caused by KeyError(u'http://zdf.de/rels/streams/ptmd-template',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Description
Video plays fine in Firefox
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:8 (6 by maintainers)
Top Results From Across the Web
Python KeyError Exceptions and How to Handle Them
The Python KeyError is a type of LookupError exception and denotes that there was an issue retrieving the key you were looking for....
Read more >How to Fix KeyError Exceptions in Python - Rollbar
The Python KeyError is an exception that occurs when an attempt is made to access an item in a dictionary that does not...
Read more >How to fix Key Error in Python using Beautiful soup?
I want to extract of every product the title, the URL, the image URL and product number. And extract the data into an...
Read more >What is KeyError in Python? Dictionary and Handling Them
If an error is brought from a dictionary in your own code, you can use .get() to extract either the value at the...
Read more >How to fix Python KeyError Exceptions in simple steps?
In simple words, syntax error occurs when the proper structure or syntax of the programming language is not followed. An example of a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Fixed in git master, presumably by merging the PR above. Hence why the issue is closed.
This seems to be a regression. The link works with youtube-dl 2021.06.06 from Debian Bullseye, but fails with 2021.12.17