From 69c4e35907db440de005ba356436f98ff60b1672 Mon Sep 17 00:00:00 2001 From: Guillem Vela Date: Thu, 27 Feb 2020 22:22:16 +0100 Subject: [PATCH] [CCMA] Add test with multiple subtitles Added test is one of the cases of broken compatibility. Issue is in featuring multiple languages in the subtitles field. --- youtube_dl/extractor/ccma.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/youtube_dl/extractor/ccma.py b/youtube_dl/extractor/ccma.py index 6a955da84..f7f6de5c8 100644 --- a/youtube_dl/extractor/ccma.py +++ b/youtube_dl/extractor/ccma.py @@ -27,6 +27,17 @@ class CCMAIE(InfoExtractor): 'timestamp': 1478608140, 'upload_date': '20161108', } + }, { + 'url': 'http://www.ccma.cat/tv3/alacarta/crims/crims-josep-tallada-lespereu-me-capitol-1/video/6031387/', + 'md5': 'b43c3d3486f430f3032b5b160d80cbc3', + 'info_dict': { + 'id': '6031387', + 'ext': 'mp4', + 'title': 'Crims - Josep Talleda, l\'"Espereu-me" (capĂ­tol 1)', + 'description': 'md5:7cbdafb640da9d0d2c0f62bad1e74e60', + 'timestamp': 1582577700, + 'upload_date': '20200224', + } }, { 'url': 'http://www.ccma.cat/catradio/alacarta/programa/el-consell-de-savis-analitza-el-derbi/audio/943685/', 'md5': 'fa3e38f269329a278271276330261425',