1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-27 23:56:51 +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)