[bbc] Make playlist title optional
authorSergey M․ <dstftw@gmail.com>
Sat, 10 Oct 2015 14:56:07 +0000 (20:56 +0600)
committerSergey M․ <dstftw@gmail.com>
Sat, 10 Oct 2015 15:37:53 +0000 (21:37 +0600)
youtube_dl/extractor/bbc.py

index ffe2afa96fb47a0962a3485249e1aa2dafcdfe8d..f943b5fd17f71353c0842c0a67cd9fc12e5786cb 100644 (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)