diff options
author | fnord <fnord@fnord.mobi> | 2015-06-23 01:08:07 -0500 |
---|---|---|
committer | fnord <fnord@fnord.mobi> | 2015-06-23 01:08:07 -0500 |
commit | a9dcf4a860214e37971ab05f27f74bbae65ff8ae (patch) | |
tree | 63802b488d447a804609c7d1d602188d4348bf7d | |
parent | 2a282a3b5f366ba0569bae477d5060329ba254fb (diff) |
Prefer externalId over non-mediaserver-specific hashkey for video id.
-rw-r--r-- | youtube_dl/extractor/bbc.py | 2 |
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, |