From 2bc9c273a7ac892d5fdd709a0d66c0f834b554ff Mon Sep 17 00:00:00 2001 From: Aaron Tan <70739609+aaron-tan@users.noreply.github.com> Date: Fri, 25 Aug 2023 13:55:23 +1000 Subject: [PATCH] [Mediaset] Correct invalid regex Correct regex to not capture URL that doesn't exist Co-authored-by: dirkf --- youtube_dl/extractor/mediaset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/mediaset.py b/youtube_dl/extractor/mediaset.py index 4c195eb5c..13d94353e 100644 --- a/youtube_dl/extractor/mediaset.py +++ b/youtube_dl/extractor/mediaset.py @@ -21,7 +21,7 @@ class MediasetIE(ThePlatformBaseIE): (?: mediaset:| https?:// - (?:(?:www|static3)\.)?mediaset(?:play|infinity)\.mediaset\.it/ + (?:(?:www|(?Pstatic3))\.)?mediaset(?(s3)play|(?:play|infinity))\.mediaset\.it/ (?: (?:video|on-demand|movie)/(?:[^/]+/)+[^/]+_| player(?:/v\d+)?/index\.html\?.*?\bprogramGuid=