Skip to content

Commit

Permalink
[applepodcasts] fix extraction(closes #28445)
Browse files Browse the repository at this point in the history
  • Loading branch information
remitamine committed Mar 14, 2021
1 parent 9955bb4 commit 3be0980
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions youtube_dl/extractor/applepodcasts.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def _real_extract(self, url):
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 {}

Expand Down

0 comments on commit 3be0980

Please sign in to comment.