1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-11-20 20:42:52 +08:00

[dailymotion] Improve description extraction (closes #16984)

This commit is contained in:
bato3 2018-07-18 21:04:05 +02:00 committed by Sergey M
parent c63f5fb863
commit 8da17f9680

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(