mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-11-27 00:06:50 +01:00
[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
This commit is contained in:
parent
57802e632f
commit
6067451e43
@ -286,7 +286,7 @@ class VimeoIE(VimeoBaseInfoExtractor):
|
||||
/(?!videos|likes)[^/?#]+/?|
|
||||
(?(q)|/(?P<unlisted_hash>[\da-f]{10}))?
|
||||
)
|
||||
(?:(?(q)[&]|(?(u)|/?)[?]).*?)?(?:[#].*)?$
|
||||
(?:(?(q)[&]|(?(u)|/?)[?]).+?)?(?:[#].*)?$
|
||||
'''
|
||||
IE_NAME = 'vimeo'
|
||||
_TESTS = [
|
||||
|
Loading…
Reference in New Issue
Block a user