A feature-rich command-line audio/video downloader
handle titles and captions set to ''
fnord36da48798a28
diff --git a/youtube_dl/extractor/bbc.py b/youtube_dl/extractor/bbc.pyindex 471d865d26..c910eb55af 100644--- a/youtube_dl/extractor/bbc.py+++ b/youtube_dl/extractor/bbc.py@@ -497,11 +497,13 @@ class BBCNewsIE(BBCCoUkIE):programme_id = jent.get('externalId')xml_url = jent.get('href')- title = jent.get('caption',list_title)+ title = jent.get('caption','')+ if title == '':+ title = list_titleduration = parse_duration(jent.get('duration'))description = list_title- if jent.get('caption'):+ if jent.get('caption', '') != '':description += ' - ' + jent.get('caption')thumbnail = Noneif jent.has_key('image'):