From: Remita Amine Date: Sun, 14 Mar 2021 19:08:46 +0000 (+0100) Subject: [applepodcasts] fix extraction(closes #28445) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=3be098010f667b14075e3dfad1e74e5e2becc8ea;p=youtube-dl [applepodcasts] fix extraction(closes #28445) --- 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 {}