projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57802e6
)
[Vimeo] Fix e19ec52 for tween-age Pythons
author
df
<fieldhouse@gmx.net>
Mon, 20 Feb 2023 01:41:46 +0000
(
01:41
+0000)
committer
df
<fieldhouse@gmx.net>
Mon, 20 Feb 2023 01:41:46 +0000
(
01:41
+0000)
* 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
youtube_dl/extractor/vimeo.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/vimeo.py
b/youtube_dl/extractor/vimeo.py
index 7f2731d835007b0c1165a25471ac60cc80f79a65..8e1a805f64060cc7b503fb0c10a524a0904ec506 100644
(file)
--- 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 = [