From: fnord Date: Tue, 23 Jun 2015 06:08:07 +0000 (-0500) Subject: Prefer externalId over non-mediaserver-specific hashkey for video id. X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=a9dcf4a860214e37971ab05f27f74bbae65ff8ae;p=youtube-dl Prefer externalId over non-mediaserver-specific hashkey for video id. --- 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,