diff options
author | Remita Amine <remitamine@gmail.com> | 2021-03-14 20:08:46 +0100 |
---|---|---|
committer | Remita Amine <remitamine@gmail.com> | 2021-03-14 20:08:46 +0100 |
commit | 3be098010f667b14075e3dfad1e74e5e2becc8ea (patch) | |
tree | 1bb6e6c64d403d302ebde20cc22d4eea785670a5 /youtube_dl | |
parent | 9955bb4a2704f98b74a448c82dfd690ec6775b8d (diff) |
[applepodcasts] fix extraction(closes #28445)
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/applepodcasts.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/extractor/applepodcasts.py b/youtube_dl/extractor/applepodcasts.py index 95758fece..6a74de758 100644 --- a/youtube_dl/extractor/applepodcasts.py +++ b/youtube_dl/extractor/applepodcasts.py @@ -42,6 +42,7 @@ class ApplePodcastsIE(InfoExtractor): ember_data = self._parse_json(self._search_regex( r'id="shoebox-ember-data-store"[^>]*>\s*({.+?})\s*<', webpage, 'ember data'), episode_id) + ember_data = ember_data.get(episode_id) or ember_data episode = ember_data['data']['attributes'] description = episode.get('description') or {} |