From: df Date: Mon, 20 Feb 2023 01:41:46 +0000 (+0000) Subject: [Vimeo] Fix e19ec52 for tween-age Pythons X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=6067451e432fb65d487a8a67bb5cff52efb9ccf4;p=youtube-dl [Vimeo] Fix e19ec52 for tween-age Pythons * a check in older Pythons in the 2.7 and earlier, 3.3, 3.4 series caused "sre_constants.error: nothing to repeat" * satisfy the check by avoiding nested qualifiers that can match empty string Resolves #31597 --- diff --git a/youtube_dl/extractor/vimeo.py b/youtube_dl/extractor/vimeo.py index 7f2731d83..8e1a805f6 100644 --- a/youtube_dl/extractor/vimeo.py +++ b/youtube_dl/extractor/vimeo.py @@ -286,7 +286,7 @@ class VimeoIE(VimeoBaseInfoExtractor): /(?!videos|likes)[^/?#]+/?| (?(q)|/(?P[\da-f]{10}))? ) - (?:(?(q)[&]|(?(u)|/?)[?]).*?)?(?:[#].*)?$ + (?:(?(q)[&]|(?(u)|/?)[?]).+?)?(?:[#].*)?$ ''' IE_NAME = 'vimeo' _TESTS = [