[arte] Fix upload date extraction (Closes #8581)
authorSergey M․ <dstftw@gmail.com>
Wed, 17 Feb 2016 16:51:08 +0000 (22:51 +0600)
committerSergey M․ <dstftw@gmail.com>
Wed, 17 Feb 2016 16:51:08 +0000 (22:51 +0600)
youtube_dl/extractor/arte.py

index 5ec67bc9c0958f07fb3899987242051a4c54f80a..c416f82eea256b7f6ecf7564da0d477ca1ed5ffd 100644 (file)
@@ -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()