aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/plutotv.py
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-12-20 11:53:26 -0500
committerJesús <heckyel@hyperbola.info>2021-12-20 11:53:26 -0500
commit65ee789d3062a5321faf0092fc2cf8ec498fc4a1 (patch)
tree72ef3e3de40dac0e03517d28eb0a2cea17f86ba4 /yt_dlp/extractor/plutotv.py
parent1abb4c89c62a9fec2e8a65c3d76d4ac0e8dd4c43 (diff)
parent0fcba15d57430e8ebfd2091463e12dfa9882cbef (diff)
downloadhypervideo-pre-65ee789d3062a5321faf0092fc2cf8ec498fc4a1.tar.lz
hypervideo-pre-65ee789d3062a5321faf0092fc2cf8ec498fc4a1.tar.xz
hypervideo-pre-65ee789d3062a5321faf0092fc2cf8ec498fc4a1.zip
updated from upstream | 20/12/2021 at 11:53
Diffstat (limited to 'yt_dlp/extractor/plutotv.py')
-rw-r--r--yt_dlp/extractor/plutotv.py7
1 files 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
/(?P<video_type>movies|series)
/(?P<series_or_movie_slug>[^/]+)
(?:
- /seasons?/(?P<season_no>\d+)
+ (?:/seasons?/(?P<season_no>\d+))?
(?:/episode/(?P<episode_slug>[^/]+))?
)?
/?(?:$|[#?])'''
@@ -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,
}
]