1
0
Fork 0

[ie/ApplePodcasts] Fix extractor (#10903)

Closes #10809
Authored by: coreywright
This commit is contained in:
Corey Wright 2024-09-29 16:03:39 -05:00 committed by GitHub
commit 6328e2e67a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 36 additions and 44 deletions

View file

@ -1710,7 +1710,7 @@ class InfoExtractor:
rating = traverse_obj(e, ('aggregateRating', 'ratingValue'), expected_type=float_or_none)
if rating is not None:
info['average_rating'] = rating
if is_type(e, 'TVEpisode', 'Episode'):
if is_type(e, 'TVEpisode', 'Episode', 'PodcastEpisode'):
episode_name = unescapeHTML(e.get('name'))
info.update({
'episode': episode_name,