-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
[DW] [Deutsche Welle] An extractor error has occurred. (caused by KeyError('media_title')) #4944
Comments
This comment was marked as resolved.
This comment was marked as resolved.
|
In yt-dlp and yt-dl, |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
I am hitting the same problem:
|
This page has what would be HTML5 video except that the tag is This structure hasn't been targeted in any existing yt-dl extractor AFAIK. In the BandaiChannel extractor the same tag introduces a Brightcove player that doesn't use
So this patch to the HTML5 parser, which extracts DW's Spanish news, as above, with - _MEDIA_TAG_NAME_RE = r'(?:(?:amp|dl8(?:-live)?)-)?(video|audio)'
+ _MEDIA_TAG_NAME_RE = r'(?:(?:amp|dl8(?:-live)?)-)?(video(?:-js)?|audio)' |
... FTR, the code to be patched lives inside
... Using
Indeed:
|
Used in video.js (yt-dlp/yt-dlp#4944 (comment))
see also the uncannily similar suggested solution here: #6764 (comment) |
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE
Checklist
Region
Germany
Provide a description that is worded well enough to be understood
I'm trying to download this Deutsche Welle podcast (only audio!) https://www.dw.com/de/wenn-der-strom-aus-der-luft-kommt/av-63153677
with ArchLinux youtube-dlp (up-to-date): It fails with the
KeyError('media_title')
error.This URL doesn't contain characters which need escaping.
The error seems to be the same like in the otherwise unrelated issue #2606
Provide verbose output that clearly demonstrates the problem
yt-dlp -vU <your command line>
)[debug] Command-line config
) and insert it belowComplete Verbose Output
The text was updated successfully, but these errors were encountered: