1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-12-23 06:57:54 +01:00

[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,
})
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)