1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-18 00:05:46 +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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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=