diff options
author | Remita Amine <remitamine@gmail.com> | 2019-11-04 11:13:14 +0100 |
---|---|---|
committer | Remita Amine <remitamine@gmail.com> | 2019-11-04 11:13:14 +0100 |
commit | bf45295c5387d0d90b97ca34d377cdaa07c71bcb (patch) | |
tree | 0fd05c85ec22b75753428ce8a45344b76fcd3371 /youtube_dl | |
parent | ef382405c6dc79d2b7e3f81a527232941e2c0b2d (diff) |
[mediaset] relax URL guid matching(closes #18352)
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/mediaset.py | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/youtube_dl/extractor/mediaset.py b/youtube_dl/extractor/mediaset.py index fcbc064ff..f976506f4 100644 --- a/youtube_dl/extractor/mediaset.py +++ b/youtube_dl/extractor/mediaset.py @@ -27,7 +27,7 @@ class MediasetIE(ThePlatformBaseIE): (?:video|on-demand)/(?:[^/]+/)+[^/]+_| player/index\.html\?.*?\bprogramGuid= ) - )(?P<id>[0-9A-Z]{16}) + )(?P<id>[0-9A-Z]{16,}) ''' _TESTS = [{ # full episode @@ -77,6 +77,18 @@ class MediasetIE(ThePlatformBaseIE): }, { 'url': 'mediaset:FAFU000000665924', 'only_matching': True, + }, { + 'url': 'https://www.mediasetplay.mediaset.it/video/mediasethaacuoreilfuturo/palmieri-alicudi-lisola-dei-tre-bambini-felici--un-decreto-per-alicudi-e-tutte-le-microscuole_FD00000000102295', + 'only_matching': True, + }, { + 'url': 'https://www.mediasetplay.mediaset.it/video/cherryseason/anticipazioni-degli-episodi-del-23-ottobre_F306837101005C02', + 'only_matching': True, + }, { + 'url': 'https://www.mediasetplay.mediaset.it/video/tg5/ambiente-onda-umana-per-salvare-il-pianeta_F309453601079D01', + 'only_matching': True, + }, { + 'url': 'https://www.mediasetplay.mediaset.it/video/grandefratellovip/benedetta-una-doccia-gelata_F309344401044C135', + 'only_matching': True, }] @staticmethod |