From de0a2f2710cbb9d1c8cb2d61c025bb947e66d8d7 Mon Sep 17 00:00:00 2001 From: dirkf Date: Wed, 30 Jul 2025 13:47:19 +0100 Subject: [PATCH] Additional tweaks --- youtube_dl/extractor/francetv.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/youtube_dl/extractor/francetv.py b/youtube_dl/extractor/francetv.py index bbbcacb93..ec4e74907 100644 --- a/youtube_dl/extractor/francetv.py +++ b/youtube_dl/extractor/francetv.py @@ -264,9 +264,10 @@ class FranceTVIE(InfoExtractor): elif code: if code == 2009: self.raise_geo_restricted(countries=self._GEO_COUNTRIES) - elif code in (2015, 2017): + elif code in (2015, 2017, 2019): # 2015: L'accès à cette vidéo est impossible. (DRM-only) # 2017: Cette vidéo n'est pas disponible depuis le site web mobile (b/c DRM) + # 2019: L'accès à cette vidéo est incompatible avec votre configuration. (DRM-only) drm_formats = True continue elif code == 2007: @@ -591,6 +592,9 @@ class FranceTVInfoIE(FranceTVBaseIE): 'format': 'best/bestvideo', 'skip_download': True, }, + 'expected_warnings': [ + 'Ignoring subtitle tracks found in the HLS manifest', + ], }, { 'url': 'https://la1ere.franceinfo.fr/martinique/programme-video/diffusion/4774522-origine-kongo.html', 'add_ie': [FranceTVIE.ie_key()], @@ -732,7 +736,7 @@ class FranceTVInfoIE(FranceTVBaseIE): (?:(?:(?]+\bid)=["'])| (?