From db53c235f263f7827c92eae441eb20c0c2579208 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nathan=20Touz=C3=A9?= <60022007+nathantouze@users.noreply.github.com> Date: Tue, 22 Aug 2023 14:17:47 +0200 Subject: [PATCH] Applied issue #6744 on vimeo extractor --- yt_dlp/extractor/vimeo.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yt_dlp/extractor/vimeo.py b/yt_dlp/extractor/vimeo.py index e72fa50fa..efc4ab3b9 100644 --- a/yt_dlp/extractor/vimeo.py +++ b/yt_dlp/extractor/vimeo.py @@ -317,12 +317,12 @@ class VimeoIE(VimeoBaseInfoExtractor): play_redirect_hls| moogaloop\.swf)\?clip_id= )? - (?:videos?/)? - ) + (?(q)|videos?/)?) (?P[0-9]+) (?(u) /(?!videos|likes)[^/?#]+/?| - (?(q)|/(?P[\da-f]{10}))? + (?(q)|/(?P[\da-f]{10})?)? + (?(unlisted_hash)/?) ) (?:(?(q)[&]|(?(u)|/?)[?]).*?)?(?:[#].*)?$ '''