[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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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