aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/bbc.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-08-08 22:44:36 +0700
committerSergey M․ <dstftw@gmail.com>2016-08-08 22:44:36 +0700
commit522f6c066da93b6baec3399b7098556e5ec55f43 (patch)
treef1d43dc530d68960643a639b3150731411ac802a /youtube_dl/extractor/bbc.py
parent321b5e082a7340225091ea5ad852e12b2dc499e9 (diff)
[bbc] Add proper default to _search_json_ld call
Diffstat (limited to 'youtube_dl/extractor/bbc.py')
-rw-r--r--youtube_dl/extractor/bbc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/bbc.py b/youtube_dl/extractor/bbc.py
index b29e05970..83e6d024c 100644
--- a/youtube_dl/extractor/bbc.py
+++ b/youtube_dl/extractor/bbc.py
@@ -759,7 +759,7 @@ class BBCIE(BBCCoUkIE):
webpage = self._download_webpage(url, playlist_id)
- json_ld_info = self._search_json_ld(webpage, playlist_id, default=None)
+ json_ld_info = self._search_json_ld(webpage, playlist_id, default={})
timestamp = json_ld_info.get('timestamp')
playlist_title = json_ld_info.get('title')