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({
'formats': formats,
'subtitles': subtitles,
})
})
else:
# get the formats (including HD) from the programmes page
# avoid https: to help proxying
ret.update({
'_type': 'url_transparent',
'url': 'http://bbc.co.uk/programmes/%s' % programme_id
})
})
return ret
elif programme_id:
# the Reel page was not as expected: try the programmes page