mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-12-23 04:30:10 +09:00
[dailymotion] Improve description extraction (closes #16984)
This commit is contained in:
parent
c63f5fb863
commit
8da17f9680
@ -144,7 +144,8 @@ class DailymotionIE(DailymotionBaseInfoExtractor):
|
|||||||
|
|
||||||
age_limit = self._rta_search(webpage)
|
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')
|
'description', webpage, 'description')
|
||||||
|
|
||||||
view_count_str = self._search_regex(
|
view_count_str = self._search_regex(
|
||||||
|
Loading…
Reference in New Issue
Block a user