mirror of
https://github.com/ytdl-org/youtube-dl
synced 2025-02-05 02:00:12 +09:00
Get HD formats for Reel
This commit is contained in:
parent
24a1061f53
commit
d6ed9424cd
@ -1028,14 +1028,14 @@ class BBCIE(BBCCoUkIE):
|
|||||||
ret.update({
|
ret.update({
|
||||||
'formats': formats,
|
'formats': formats,
|
||||||
'subtitles': subtitles,
|
'subtitles': subtitles,
|
||||||
})
|
})
|
||||||
else:
|
else:
|
||||||
# get the formats (including HD) from the programmes page
|
# get the formats (including HD) from the programmes page
|
||||||
# avoid https: to help proxying
|
# avoid https: to help proxying
|
||||||
ret.update({
|
ret.update({
|
||||||
'_type': 'url_transparent',
|
'_type': 'url_transparent',
|
||||||
'url': 'http://bbc.co.uk/programmes/%s' % programme_id
|
'url': 'http://bbc.co.uk/programmes/%s' % programme_id
|
||||||
})
|
})
|
||||||
return ret
|
return ret
|
||||||
elif programme_id:
|
elif programme_id:
|
||||||
# the Reel page was not as expected: try the programmes page
|
# the Reel page was not as expected: try the programmes page
|
||||||
|
Loading…
Reference in New Issue
Block a user