1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-05-19 03:29:32 +00: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))