[mediaset] add support for movie URLs(closes #27240)
authorRemita Amine <remitamine@gmail.com>
Mon, 30 Nov 2020 08:45:44 +0000 (09:45 +0100)
committerRemita Amine <remitamine@gmail.com>
Mon, 30 Nov 2020 08:46:15 +0000 (09:46 +0100)
youtube_dl/extractor/mediaset.py

index 933df14952d5cc16857485e306be07f2d32384d3..2c16fc9e21887eada088a335a000530a845c3b3b 100644 (file)
@@ -23,7 +23,7 @@ class MediasetIE(ThePlatformBaseIE):
                         https?://
                             (?:(?:www|static3)\.)?mediasetplay\.mediaset\.it/
                             (?:
-                                (?:video|on-demand)/(?:[^/]+/)+[^/]+_|
+                                (?:video|on-demand|movie)/(?:[^/]+/)+[^/]+_|
                                 player/index\.html\?.*?\bprogramGuid=
                             )
                     )(?P<id>[0-9A-Z]{16,})
@@ -88,6 +88,9 @@ class MediasetIE(ThePlatformBaseIE):
     }, {
         'url': 'https://www.mediasetplay.mediaset.it/video/grandefratellovip/benedetta-una-doccia-gelata_F309344401044C135',
         'only_matching': True,
+    }, {
+        'url': 'https://www.mediasetplay.mediaset.it/movie/herculeslaleggendahainizio/hercules-la-leggenda-ha-inizio_F305927501000102',
+        'only_matching': True,
     }]
 
     @staticmethod