[dailymotion] Improve description extraction (closes #16984)

pull/16942/merge
bato3 2018-07-18 21:04:05 +02:00 committed by Sergey M
parent c63f5fb863
commit 8da17f9680
1 changed files with 2 additions and 1 deletions

View File

@ -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(