From 6759b1f910c6eef720b5574a4a8d24a10189ec59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Parisel?= Date: Thu, 4 Jan 2018 22:49:12 +0100 Subject: [PATCH 1/2] [RTBF] Adding the subtitle property as it is used in many TV shows. --- youtube_dl/extractor/rtbf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/youtube_dl/extractor/rtbf.py b/youtube_dl/extractor/rtbf.py index 28cc5522d..bdee64f56 100644 --- a/youtube_dl/extractor/rtbf.py +++ b/youtube_dl/extractor/rtbf.py @@ -24,6 +24,7 @@ class RTBFIE(InfoExtractor): 'ext': 'mp4', 'title': 'Les Diables au coeur (épisode 2)', 'description': 'Football - Diables Rouges', + 'subtitle': 'Football - Diables Rouges' 'duration': 3099, 'upload_date': '20140425', 'timestamp': 1398456336, @@ -89,6 +90,7 @@ class RTBFIE(InfoExtractor): 'formats': formats, 'title': data['title'], 'description': data.get('description') or data.get('subtitle'), + 'subtitle': data.get('subtitle'), 'thumbnails': thumbnails, 'duration': data.get('duration') or data.get('realDuration'), 'timestamp': int_or_none(data.get('created')), From 384435e8503e66e28102665ec1695bd87ee87560 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Parisel?= Date: Thu, 4 Jan 2018 22:51:58 +0100 Subject: [PATCH 2/2] Adding a forgotten comma --- youtube_dl/extractor/rtbf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/rtbf.py b/youtube_dl/extractor/rtbf.py index bdee64f56..ec59eedb7 100644 --- a/youtube_dl/extractor/rtbf.py +++ b/youtube_dl/extractor/rtbf.py @@ -24,7 +24,7 @@ class RTBFIE(InfoExtractor): 'ext': 'mp4', 'title': 'Les Diables au coeur (épisode 2)', 'description': 'Football - Diables Rouges', - 'subtitle': 'Football - Diables Rouges' + 'subtitle': 'Football - Diables Rouges', 'duration': 3099, 'upload_date': '20140425', 'timestamp': 1398456336,