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

NPR extractor failures #24230

Open
DragoonAethis opened this issue Mar 3, 2020 · 0 comments
Open

NPR extractor failures #24230

DragoonAethis opened this issue Mar 3, 2020 · 0 comments

Comments

@DragoonAethis
Copy link

@DragoonAethis DragoonAethis commented Mar 3, 2020

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2020.03.01
  • 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 https://www.npr.org/2020/03/02/811280651/the-economic-lessons-of-a-free-solo-climb --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.npr.org/2020/03/02/811280651/the-economic-lessons-of-a-free-solo-climb', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2020.03.01
[debug] Python version 3.8.1 (CPython) - Linux-5.5.7-2-ck-skylake-x86_64-with-glibc2.2.5
[debug] exe versions: ffmpeg 4.2.2, ffprobe 4.2.2, rtmpdump 2.4
[debug] Proxy map: {}
[Npr] 811280651: Downloading JSON metadata
ERROR: An extractor error has occurred. (caused by KeyError('story')); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/youtube_dl/extractor/common.py", line 530, in extract
ie_result = self._real_extract(url)
File "/usr/lib/python3.8/site-packages/youtube_dl/extractor/npr.py", line 61, in _real_extract
story = self._download_json(
KeyError: 'story'
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/youtube_dl/extractor/common.py", line 530, in extract
ie_result = self._real_extract(url)
File "/usr/lib/python3.8/site-packages/youtube_dl/extractor/npr.py", line 61, in _real_extract
story = self._download_json(
KeyError: 'story'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 797, in extract_info
ie_result = ie.extract(url)
File "/usr/lib/python3.8/site-packages/youtube_dl/extractor/common.py", line 543, in extract
raise ExtractorError('An extractor error has occurred.', cause=e)
youtube_dl.utils.ExtractorError: An extractor error has occurred. (caused by KeyError('story')); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure tocall youtube-dl with the --verbose flag and include its complete output.

Description

Some NPR links fail to download with the log above. Example links:

Downloads fail regardless of the download link availability on the NPR site.

@ytdl-org ytdl-org deleted a comment from HussainMustafa Mar 5, 2020
@ytdl-org ytdl-org locked and limited conversation to collaborators Mar 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.