1
0
mirror of https://github.com/ytdl-org/youtube-dl synced 2026-09-13 23:54:51 +00:00

[Mediaset] Correct invalid regex

Correct regex to not capture URL that doesn't exist

Co-authored-by: dirkf <fieldhouse@gmx.net>
This commit is contained in:
Aaron Tan
2023-08-25 13:55:23 +10:00
committed by GitHub
parent 11d68ad77b
commit 2bc9c273a7

View File

@@ -21,7 +21,7 @@ class MediasetIE(ThePlatformBaseIE):
(?:
mediaset:|
https?://
(?:(?:www|static3)\.)?mediaset(?:play|infinity)\.mediaset\.it/
(?:(?:www|(?P<s3>static3))\.)?mediaset(?(s3)play|(?:play|infinity))\.mediaset\.it/
(?:
(?:video|on-demand|movie)/(?:[^/]+/)+[^/]+_|
player(?:/v\d+)?/index\.html\?.*?\bprogramGuid=