[bbc] Make playlist title optional

This commit is contained in:
Sergey M․ 2015-10-10 20:56:07 +06:00
parent b5d48cb1ef
commit 975977860d

View File

@ -687,7 +687,7 @@ def _real_extract(self, url):
'subtitles': subtitles,
})
playlist_title = self._og_search_title(webpage)
playlist_description = self._og_search_description(webpage)
playlist_description = self._og_search_description(webpage, default=None)
return self.playlist_result(entries, playlist_id, playlist_title, playlist_description)
# single video story (e.g. http://www.bbc.com/travel/story/20150625-sri-lankas-spicy-secret)