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

Using fatal=false for _og_search_description

This commit is contained in:
Thomas Christlieb 2017-02-01 15:46:13 +01:00
parent ab98a3c043
commit 2b7e123f9d

View File

@ -377,7 +377,7 @@ class ProSiebenSat1IE(ProSiebenSat1BaseIE):
description = self._html_search_regex( description = self._html_search_regex(
self._DESCRIPTION_REGEXES, webpage, 'description', default=None) 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, fatal=False)
thumbnail = self._og_search_thumbnail(webpage) thumbnail = self._og_search_thumbnail(webpage)
upload_date = unified_strdate(self._html_search_regex( upload_date = unified_strdate(self._html_search_regex(
self._UPLOAD_DATE_REGEXES, webpage, 'upload date', default=None)) self._UPLOAD_DATE_REGEXES, webpage, 'upload date', default=None))