From: bato3 Date: Wed, 18 Jul 2018 19:04:05 +0000 (+0200) Subject: [dailymotion] Improve description extraction (closes #16984) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=8da17f96803faa35ab19352bdcd2777011d8812a;p=youtube-dl [dailymotion] Improve description extraction (closes #16984) --- 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(