1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-15 22:24:32 +01: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(
self._DESCRIPTION_REGEXES, webpage, 'description', default=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)
upload_date = unified_strdate(self._html_search_regex(
self._UPLOAD_DATE_REGEXES, webpage, 'upload date', default=None))