aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/extractor/podchaser.py
diff options
context:
space:
mode:
authorsepro <4618135+seproDev@users.noreply.github.com>2024-03-08 23:36:41 +0100
committerGitHub <noreply@github.com>2024-03-08 23:36:41 +0100
commitf4f9f6d00edcac6d4eb2b3fb78bf81326235d492 (patch)
tree4808f816cfeec2a30a6072e99873f3601bef5060 /yt_dlp/extractor/podchaser.py
parentdfd8c0b69683b1c11beea039a96dd2949026c1d7 (diff)
[cleanup] Fix infodict returned fields (#8906)
Authored by: seproDev
Diffstat (limited to 'yt_dlp/extractor/podchaser.py')
-rw-r--r--yt_dlp/extractor/podchaser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/extractor/podchaser.py b/yt_dlp/extractor/podchaser.py
index 290c48817..fc2d407b1 100644
--- a/yt_dlp/extractor/podchaser.py
+++ b/yt_dlp/extractor/podchaser.py
@@ -29,7 +29,7 @@ class PodchaserIE(InfoExtractor):
'duration': 3708,
'timestamp': 1636531259,
'upload_date': '20211110',
- 'rating': 4.0
+ 'average_rating': 4.0
}
}, {
'url': 'https://www.podchaser.com/podcasts/the-bone-zone-28853',
@@ -59,7 +59,7 @@ class PodchaserIE(InfoExtractor):
'thumbnail': episode.get('image_url'),
'duration': str_to_int(episode.get('length')),
'timestamp': unified_timestamp(episode.get('air_date')),
- 'rating': float_or_none(episode.get('rating')),
+ 'average_rating': float_or_none(episode.get('rating')),
'categories': list(set(traverse_obj(podcast, (('summary', None), 'categories', ..., 'text')))),
'tags': traverse_obj(podcast, ('tags', ..., 'text')),
'series': podcast.get('title'),