projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
11b5605
)
Merge pull request #6518 from puckipedia/master
author
Sergey M.
<dstftw@gmail.com>
Mon, 10 Aug 2015 19:18:50 +0000
(
01:18
+0600)
committer
Sergey M.
<dstftw@gmail.com>
Mon, 10 Aug 2015 19:18:50 +0000
(
01:18
+0600)
[youtube] Use the first v= argument in the URL
youtube_dl/extractor/vimeo.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/vimeo.py
b/youtube_dl/extractor/vimeo.py
index 1eeb4618e751c5356acedf7a0184f8b73f0bf783..50df79ca12d7082c9615bba0fdc979a5f7ed6578 100644
(file)
--- a/
youtube_dl/extractor/vimeo.py
+++ b/
youtube_dl/extractor/vimeo.py
@@
-505,7
+505,7
@@
class VimeoChannelIE(VimeoBaseInfoExtractor):
class VimeoUserIE(VimeoChannelIE):
IE_NAME = 'vimeo:user'
- _VALID_URL = r'https://vimeo\.com/(?!
[0-9]+
(?:$|[?#/]))(?P<name>[^/]+)(?:/videos|[#?]|$)'
+ _VALID_URL = r'https://vimeo\.com/(?!
(?:[0-9]+|watchlater)
(?:$|[?#/]))(?P<name>[^/]+)(?:/videos|[#?]|$)'
_TITLE_RE = r'<a[^>]+?class="user">([^<>]+?)</a>'
_TESTS = [{
'url': 'https://vimeo.com/nkistudio/videos',