mirror of
https://github.com/ytdl-org/youtube-dl
synced 2025-01-08 12:30:10 +09:00
Get HD formats for Reel
This commit is contained in:
parent
9c7f8ad7bb
commit
fcb4cf1783
@ -1012,6 +1012,7 @@ class BBCIE(BBCCoUkIE):
|
|||||||
topic_title = init_data.get('topicTitle')
|
topic_title = init_data.get('topicTitle')
|
||||||
ret = {
|
ret = {
|
||||||
'title': smp_data.get('title', playlist_id),
|
'title': smp_data.get('title', playlist_id),
|
||||||
|
'id': version_id,
|
||||||
'alt_title': init_data.get('shortTitle'),
|
'alt_title': init_data.get('shortTitle'),
|
||||||
'thumbnail': image_url.replace('$recipe', 'raw') if image_url else None,
|
'thumbnail': image_url.replace('$recipe', 'raw') if image_url else None,
|
||||||
'description': smp_data.get('summary') or init_data.get('shortSummary'),
|
'description': smp_data.get('summary') or init_data.get('shortSummary'),
|
||||||
@ -1025,7 +1026,6 @@ class BBCIE(BBCCoUkIE):
|
|||||||
formats, subtitles = self._download_media_selector(version_id)
|
formats, subtitles = self._download_media_selector(version_id)
|
||||||
self._sort_formats(formats)
|
self._sort_formats(formats)
|
||||||
ret.update({
|
ret.update({
|
||||||
'id': version_id,
|
|
||||||
'formats': formats,
|
'formats': formats,
|
||||||
'subtitles': subtitles,
|
'subtitles': subtitles,
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user