projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5601944
)
[democracynow] Make description optional (Closes #9115)
author
Sergey M․
<dstftw@gmail.com>
Fri, 8 Apr 2016 16:15:36 +0000
(22:15 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 8 Apr 2016 16:15:36 +0000
(22:15 +0600)
youtube_dl/extractor/democracynow.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/democracynow.py
b/youtube_dl/extractor/democracynow.py
index 6cd395e1169d8253c589efe3da2d24f1632b0356..4b6d2652ab4694e6b77ca26cdef5cf0980d3048a 100644
(file)
--- 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'),