0
0
Fork 0
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:
fnord 2015-06-23 01:08:07 -05:00
parent 2a282a3b5f
commit a9dcf4a860

View file

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