mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-25 06:06:55 +01:00
Prefer externalId over non-mediaserver-specific hashkey for video id.
This commit is contained in:
parent
2a282a3b5f
commit
a9dcf4a860
@ -540,7 +540,7 @@ def _real_extract(self, url):
|
|||||||
self._sort_formats(formats)
|
self._sort_formats(formats)
|
||||||
|
|
||||||
ret.append( {
|
ret.append( {
|
||||||
'id': jent.get('programme_id',jent.get('id')),
|
'id': jent.get('id') if programme_id == None else programme_id,
|
||||||
'uploader': 'BBC News',
|
'uploader': 'BBC News',
|
||||||
'upload_date': pubdate,
|
'upload_date': pubdate,
|
||||||
'title': title,
|
'title': title,
|
||||||
|
Loading…
Reference in New Issue
Block a user