1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-09-16 07:42:24 +02:00

[arte] Fix upload date extraction (Closes #8581)

This commit is contained in:
Sergey M․ 2016-02-17 22:51:08 +06:00
parent e725e4bced
commit 8bbd3d1476

View File

@ -126,7 +126,7 @@ def _extract_from_json_url(self, json_url, video_id, lang):
upload_date_str = player_info.get('shootingDate')
if not upload_date_str:
upload_date_str = player_info.get('VDA', '').split(' ')[0]
upload_date_str = (player_info.get('VRA') or player_info.get('VDA') or '').split(' ')[0]
title = player_info['VTI'].strip()
subtitle = player_info.get('VSU', '').strip()