From aab41cdd33a6f6faf5d4a8db2e10c77fe08e9068 Mon Sep 17 00:00:00 2001 From: pukkandan Date: Fri, 17 Dec 2021 04:45:27 +0530 Subject: [PATCH] [PlutoTV] Expand `_VALID_URL` Closes #2007 --- yt_dlp/extractor/plutotv.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/yt_dlp/extractor/plutotv.py b/yt_dlp/extractor/plutotv.py index 0cf82466a..26aff1af5 100644 --- a/yt_dlp/extractor/plutotv.py +++ b/yt_dlp/extractor/plutotv.py @@ -20,11 +20,11 @@ from ..utils import ( class PlutoTVIE(InfoExtractor): _VALID_URL = r'''(?x) - https?://(?:www\.)?pluto\.tv(?:/en)?/on-demand + https?://(?:www\.)?pluto\.tv(?:/[^/]+)?/on-demand /(?Pmovies|series) /(?P[^/]+) (?: - /seasons?/(?P\d+) + (?:/seasons?/(?P\d+))? (?:/episode/(?P[^/]+))? )? /?(?:$|[#?])''' @@ -84,6 +84,9 @@ class PlutoTVIE(InfoExtractor): }, { 'url': 'https://pluto.tv/en/on-demand/series/manhunters-fugitive-task-force/seasons/1/episode/third-times-the-charm-1-1', 'only_matching': True, + }, { + 'url': 'https://pluto.tv/it/on-demand/series/csi-vegas/episode/legacy-2021-1-1', + 'only_matching': True, } ]