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

pull/2/head
Sergey M․ 9 years ago
parent e725e4bced
commit 8bbd3d1476

@ -126,7 +126,7 @@ class ArteTVPlus7IE(InfoExtractor):
upload_date_str = player_info.get('shootingDate') upload_date_str = player_info.get('shootingDate')
if not upload_date_str: 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() title = player_info['VTI'].strip()
subtitle = player_info.get('VSU', '').strip() subtitle = player_info.get('VSU', '').strip()

Loading…
Cancel
Save