projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c63f5fb
)
[dailymotion] Improve description extraction (closes #16984)
author
bato3
<bato3@bandyci.org>
Wed, 18 Jul 2018 19:04:05 +0000
(21:04 +0200)
committer
Sergey M
<dstftw@gmail.com>
Wed, 18 Jul 2018 19:04:05 +0000
(
02:04
+0700)
youtube_dl/extractor/dailymotion.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/dailymotion.py
b/youtube_dl/extractor/dailymotion.py
index 9a74906cb625f590bd5d1bc8862fc5c652fac52c..8f5f57b98576e5c6bba567439a22f935b5cc7c02 100644
(file)
--- a/
youtube_dl/extractor/dailymotion.py
+++ b/
youtube_dl/extractor/dailymotion.py
@@
-144,7
+144,8
@@
class DailymotionIE(DailymotionBaseInfoExtractor):
age_limit = self._rta_search(webpage)
- description = self._og_search_description(webpage) or self._html_search_meta(
+ description = self._og_search_description(
+ webpage, default=None) or self._html_search_meta(
'description', webpage, 'description')
view_count_str = self._search_regex(