diff options
author | df <fieldhouse@gmx.net> | 2023-02-20 01:41:46 +0000 |
---|---|---|
committer | df <fieldhouse@gmx.net> | 2023-02-20 01:41:46 +0000 |
commit | 6067451e432fb65d487a8a67bb5cff52efb9ccf4 (patch) | |
tree | 0ba0694fa7fcca3e273d292aeb8c7c1f68b3ff5c | |
parent | 57802e632f5a741df6fd9b30a455c32632944489 (diff) |
[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
-rw-r--r-- | youtube_dl/extractor/vimeo.py | 2 |
1 files changed, 1 insertions, 1 deletions
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<unlisted_hash>[\da-f]{10}))? ) - (?:(?(q)[&]|(?(u)|/?)[?]).*?)?(?:[#].*)?$ + (?:(?(q)[&]|(?(u)|/?)[?]).+?)?(?:[#].*)?$ ''' IE_NAME = 'vimeo' _TESTS = [ |