mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-26 10:24:33 +01:00
[prosiebensat1] Make upload_date optional
The site has a crazy incorrect date in German formatting, but the correct date is nowhere to be found.
This commit is contained in:
parent
5309602106
commit
6f6ed04172
@ -145,7 +145,6 @@ class ProSiebenSat1IE(InfoExtractor):
|
|||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
'title': 'Kurztrips zum Valentinstag',
|
'title': 'Kurztrips zum Valentinstag',
|
||||||
'description': 'md5:8ba6301e70351ae0bedf8da00f7ba528',
|
'description': 'md5:8ba6301e70351ae0bedf8da00f7ba528',
|
||||||
'upload_date': '20130206',
|
|
||||||
'duration': 307.24,
|
'duration': 307.24,
|
||||||
},
|
},
|
||||||
'params': {
|
'params': {
|
||||||
@ -240,7 +239,7 @@ class ProSiebenSat1IE(InfoExtractor):
|
|||||||
thumbnail = self._og_search_thumbnail(page)
|
thumbnail = self._og_search_thumbnail(page)
|
||||||
|
|
||||||
upload_date = unified_strdate(self._html_search_regex(
|
upload_date = unified_strdate(self._html_search_regex(
|
||||||
self._UPLOAD_DATE_REGEXES, page, 'upload date', fatal=False))
|
self._UPLOAD_DATE_REGEXES, page, 'upload date', default=None))
|
||||||
|
|
||||||
formats = []
|
formats = []
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user