diff options
author | bato3 <bato3@bandyci.org> | 2018-07-18 21:04:05 +0200 |
---|---|---|
committer | Sergey M <dstftw@gmail.com> | 2018-07-19 02:04:05 +0700 |
commit | 8da17f96803faa35ab19352bdcd2777011d8812a (patch) | |
tree | 6f64d057ae997a2ec0b649a257734172c79bddcc /youtube_dl/extractor | |
parent | c63f5fb8633dda1b0a673c90d537e93497a8d62d (diff) |
[dailymotion] Improve description extraction (closes #16984)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/dailymotion.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/dailymotion.py b/youtube_dl/extractor/dailymotion.py index 9a74906cb..8f5f57b98 100644 --- 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( |