Skip to content

Commit

Permalink
[youtube] fix #912
Browse files Browse the repository at this point in the history
  • Loading branch information
soimort committed Feb 7, 2016
1 parent 129695b commit 1e2f5de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/you_get/extractors/youtube.py
Expand Up @@ -86,6 +86,7 @@ def get_vid_from_url(url):
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')

Expand Down

0 comments on commit 1e2f5de

Please sign in to comment.