commit 8da17f96803faa35ab19352bdcd2777011d8812a
parent c63f5fb8633dda1b0a673c90d537e93497a8d62d
Author: bato3 <bato3@bandyci.org>
Date:   Wed, 18 Jul 2018 21:04:05 +0200

[dailymotion] Improve description extraction (closes #16984)


Diffstat:
Myoutube_dl/extractor/dailymotion.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 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(