mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-19 01:45:13 +00:00
Prefer externalId over non-mediaserver-specific hashkey for video id.
This commit is contained in:
parent
2a282a3b5f
commit
a9dcf4a860
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue