[applepodcasts] Extract default thumbnail image
This commit is contained in:
parent
e00b0eab1e
commit
584715a803
1 changed files with 2 additions and 0 deletions
|
@ -27,6 +27,7 @@ class ApplePodcastsIE(InfoExtractor):
|
||||||
'timestamp': 1593932400,
|
'timestamp': 1593932400,
|
||||||
'duration': 6454,
|
'duration': 6454,
|
||||||
'series': 'The Tim Dillon Show',
|
'series': 'The Tim Dillon Show',
|
||||||
|
'thumbnail': 're:.+[.](png|jpe?g|webp)',
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
'url': 'https://podcasts.apple.com/podcast/207-whitney-webb-returns/id1135137367?i=1000482637777',
|
'url': 'https://podcasts.apple.com/podcast/207-whitney-webb-returns/id1135137367?i=1000482637777',
|
||||||
|
@ -83,6 +84,7 @@ class ApplePodcastsIE(InfoExtractor):
|
||||||
'timestamp': parse_iso8601(episode.get('releaseDateTime')),
|
'timestamp': parse_iso8601(episode.get('releaseDateTime')),
|
||||||
'duration': int_or_none(episode.get('durationInMilliseconds'), 1000),
|
'duration': int_or_none(episode.get('durationInMilliseconds'), 1000),
|
||||||
'series': series,
|
'series': series,
|
||||||
|
'thumbnail': self._og_search_thumbnail(webpage),
|
||||||
}]
|
}]
|
||||||
self._sort_formats(info)
|
self._sort_formats(info)
|
||||||
info = info[0]
|
info = info[0]
|
||||||
|
|
Loading…
Reference in a new issue