mirror of
https://github.com/soimort/you-get.git
synced 2025-03-13 03:17:44 +03:00
[youtube] fix #912
This commit is contained in:
parent
129695b3c6
commit
1e2f5de845
@ -86,6 +86,7 @@ class YouTube(VideoExtractor):
|
||||
return match1(url, r'youtu\.be/([^/]+)') or \
|
||||
match1(url, r'youtube\.com/embed/([^/?]+)') or \
|
||||
match1(url, r'youtube\.com/v/([^/?]+)') or \
|
||||
match1(url, r'youtube\.com/watch/([^/?]+)') or \
|
||||
parse_query_param(url, 'v') or \
|
||||
parse_query_param(parse_query_param(url, 'u'), 'v')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user