[applepodcasts] fix extraction(closes #28445)

pull/28450/head
Remita Amine 2021-03-14 20:08:46 +01:00
parent 9955bb4a27
commit 3be098010f
1 changed files with 1 additions and 0 deletions

View File

@ -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 {}