aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-04-08 22:15:36 +0600
committerSergey M․ <dstftw@gmail.com>2016-04-08 22:15:36 +0600
commita64c0c9b06b24085b1332452b5859fe6ac0a26d5 (patch)
tree87b09e9b44503c2a35611572e49a8ad3d835b950
parent56019444cb2fe64f0937fb52aff9e36f30b3b343 (diff)
[democracynow] Make description optional (Closes #9115)
-rw-r--r--youtube_dl/extractor/democracynow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/democracynow.py b/youtube_dl/extractor/democracynow.py
index 6cd395e11..4b6d2652a 100644
--- a/youtube_dl/extractor/democracynow.py
+++ b/youtube_dl/extractor/democracynow.py
@@ -38,7 +38,7 @@ class DemocracynowIE(InfoExtractor):
def _real_extract(self, url):
display_id = self._match_id(url)
webpage = self._download_webpage(url, display_id)
- description = self._og_search_description(webpage)
+ description = self._og_search_description(webpage, default=None)
json_data = self._parse_json(self._search_regex(
r'<script[^>]+type="text/json"[^>]*>\s*({[^>]+})', webpage, 'json'),