logo

youtube-dl

[mirror] Download/Watch videos from video hostersgit clone https://hacktivis.me/git/mirror/youtube-dl.git
commit: 3be098010f667b14075e3dfad1e74e5e2becc8ea
parent 9955bb4a2704f98b74a448c82dfd690ec6775b8d
Author: Remita Amine <remitamine@gmail.com>
Date:   Sun, 14 Mar 2021 20:08:46 +0100

[applepodcasts] fix extraction(closes #28445)

Diffstat:

Myoutube_dl/extractor/applepodcasts.py1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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 {}