aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorfnord <fnord@fnord.mobi>2015-06-23 01:08:07 -0500
committerfnord <fnord@fnord.mobi>2015-06-23 01:08:07 -0500
commita9dcf4a860214e37971ab05f27f74bbae65ff8ae (patch)
tree63802b488d447a804609c7d1d602188d4348bf7d /youtube_dl
parent2a282a3b5f366ba0569bae477d5060329ba254fb (diff)
Prefer externalId over non-mediaserver-specific hashkey for video id.
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/bbc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/bbc.py b/youtube_dl/extractor/bbc.py
index 310db9d1d..fed344ea0 100644
--- a/youtube_dl/extractor/bbc.py
+++ b/youtube_dl/extractor/bbc.py
@@ -540,7 +540,7 @@ class BBCNewsIE(BBCCoUkIE):
self._sort_formats(formats)
ret.append( {
- 'id': jent.get('programme_id',jent.get('id')),
+ 'id': jent.get('id') if programme_id == None else programme_id,
'uploader': 'BBC News',
'upload_date': pubdate,
'title': title,