1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-26 02:14:32 +01:00

Force re-tests on travis (core reformat)

This commit is contained in:
bato3 2018-07-14 16:11:55 +02:00
parent e887491de8
commit 4aa6fbb409

View File

@ -111,7 +111,10 @@ class Mp4UploadIE(InfoExtractor):
) )
timestamp = None timestamp = None
date_raw = self._search_regex(r'Uploaded on(.+?)</div>', webpage, 'timestamp', fatal=False, flags=re.DOTALL) date_raw = self._search_regex(
r'Uploaded on(.+?)</div>', webpage,
'timestamp', fatal=False, flags=re.DOTALL
)
if date_raw: if date_raw:
try: try:
timestamp = time.mktime(time.strptime( timestamp = time.mktime(time.strptime(