aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/arte.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/extractor/arte.py')
-rw-r--r--youtube_dl/extractor/arte.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/youtube_dl/extractor/arte.py b/youtube_dl/extractor/arte.py
index c3d02f85e..3a34d1ecc 100644
--- a/youtube_dl/extractor/arte.py
+++ b/youtube_dl/extractor/arte.py
@@ -160,6 +160,9 @@ class ArteTVPlus7IE(InfoExtractor):
format_id = '%s-%s' % (quality, format_info['versionCode'])
else:
format_id = quality
+ media_type = format_info.get('mediaType')
+ if media_type is not None:
+ format_id += '-%s' % media_type
info = {
'format_id': format_id,
'format_note': format_info.get('versionLibelle'),