1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-01-24 16:15:38 +08:00

Deleted default=None Parameter for _og_search_property

This commit is contained in:
Thomas Christlieb 2017-02-01 15:53:33 +01:00
parent ec41e59734
commit f36b7fa3a4

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)
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))