[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 @@ class BBCIE(BBCCoUkIE):
'subtitles': subtitles, 'subtitles': subtitles,
}) })
playlist_title = self._og_search_title(webpage) 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) 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) # single video story (e.g. http://www.bbc.com/travel/story/20150625-sri-lankas-spicy-secret)