mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-01-18 22:05:40 +00:00
removed fatal=False from search for description regex. default=None should be preferred only
This commit is contained in:
parent
0042f61b07
commit
ab98a3c043
1 changed files with 1 additions and 1 deletions
|
@ -375,7 +375,7 @@ class ProSiebenSat1IE(ProSiebenSat1BaseIE):
|
||||||
title = self._html_search_regex(self._TITLE_REGEXES, webpage, 'title')
|
title = self._html_search_regex(self._TITLE_REGEXES, webpage, 'title')
|
||||||
info = self._extract_video_info(url, clip_id)
|
info = self._extract_video_info(url, clip_id)
|
||||||
description = self._html_search_regex(
|
description = self._html_search_regex(
|
||||||
self._DESCRIPTION_REGEXES, webpage, 'description', default=None, fatal=False)
|
self._DESCRIPTION_REGEXES, webpage, 'description', default=None)
|
||||||
if description is None:
|
if description is None:
|
||||||
description = self._og_search_description(webpage, default=None)
|
description = self._og_search_description(webpage, default=None)
|
||||||
thumbnail = self._og_search_thumbnail(webpage)
|
thumbnail = self._og_search_thumbnail(webpage)
|
||||||
|
|
Loading…
Reference in a new issue