Skip to content

A feature-rich command-line audio/video downloader

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

Sergey M․8bbd3d14765a
diff --git a/youtube_dl/extractor/arte.py b/youtube_dl/extractor/arte.py
index 5ec67bc9c0..c416f82eea 100644
--- a/youtube_dl/extractor/arte.py
+++ b/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()