projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a282a3
)
Prefer externalId over non-mediaserver-specific hashkey for video id.
author
fnord
<fnord@fnord.mobi>
Tue, 23 Jun 2015 06:08:07 +0000
(
01:08
-0500)
committer
fnord
<fnord@fnord.mobi>
Tue, 23 Jun 2015 06:08:07 +0000
(
01:08
-0500)
youtube_dl/extractor/bbc.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/bbc.py
b/youtube_dl/extractor/bbc.py
index 310db9d1db7157e3164ed0df52e2641160f6bc93..fed344ea0b6003d63670299e293d60096d610adb 100644
(file)
--- 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,