Get HD formats for Reel

This commit is contained in:
dirkf 2021-03-03 14:14:14 +00:00 committed by GitHub
parent 24a1061f53
commit d6ed9424cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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