浏览代码

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

Sergey M․ 9 年之前
父节点
当前提交
8bbd3d1476
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      youtube_dl/extractor/arte.py

+ 1 - 1
youtube_dl/extractor/arte.py

@@ -126,7 +126,7 @@ class ArteTVPlus7IE(InfoExtractor):
 
         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()