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

ApplePodcasts: ERROR: An extractor error has occurred. (caused by KeyError('data')); #28445

Closed
5 tasks done
ole-tange opened this issue Mar 14, 2021 · 0 comments
Closed
5 tasks done

Comments

@ole-tange
Copy link

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2021.03.14
  • 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 -v      https://podcasts.apple.com/us/podcast/rasmus-hougaard-hvorfor-aktie-og-boligmarkedet-har/id1551779744?i=1000512692156
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://podcasts.apple.com/us/podcast/rasmus-hougaard-hvorfor-aktie-og-boligmarkedet-har/id1551779744?i=1000512692156']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.03.14
[debug] Python version 3.8.5 (CPython) - Linux-5.4.0-60-generic-x86_64-with-glibc2.29
[debug] exe versions: ffmpeg 4.2.4, ffprobe 4.2.4, phantomjs 2.1.1
[debug] Proxy map: {}
[ApplePodcasts] 1000512692156: Downloading webpage
ERROR: An extractor error has occurred. (caused by KeyError('data')); 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 "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/applepodcasts.py", line 45, in _real_extract
    episode = ember_data['data']['attributes']
KeyError: 'data'
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/applepodcasts.py", line 45, in _real_extract
    episode = ember_data['data']['attributes']
KeyError: 'data'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 806, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 827, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 547, in extract
    raise ExtractorError('An extractor error has occurred.', cause=e)
youtube_dl.utils.ExtractorError: An extractor error has occurred. (caused by KeyError('data')); 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

I had expected it to download the podcast.

github-actions bot added a commit to hellopony/youtube-dl that referenced this issue Mar 14, 2021
* https://github.com/ytdl-org/youtube-dl:
  [applepodcasts] fix extraction(closes ytdl-org#28445)
  [rtve] improve extraction
  release 2021.03.14
  [ChangeLog] Actualize [ci skip]
  [southpark] Fix extraction and add support for southparkstudios.com (closes ytdl-org#26763, closes ytdl-org#28413)
leshasmlesha pushed a commit to leshasmlesha/youtube-dl that referenced this issue Apr 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant