Browse Source

[dailymotion] Improve description extraction (closes #16984)

master-ytdl-org
bato3 7 years ago
committed by Sergey M
parent
commit
8da17f9680
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      youtube_dl/extractor/dailymotion.py

+ 2
- 1
youtube_dl/extractor/dailymotion.py 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(


Loading…
Cancel
Save