[vimeo] Support protocol-relative URLs
This commit is contained in:
parent
35aa7098cd
commit
3fabeaa1f4
2 changed files with 2 additions and 5 deletions
|
@ -230,7 +230,7 @@ class GenericIE(InfoExtractor):
|
|||
|
||||
# Look for embedded (iframe) Vimeo player
|
||||
mobj = re.search(
|
||||
r'<iframe[^>]+?src="(https?://player.vimeo.com/video/.+?)"', webpage)
|
||||
r'<iframe[^>]+?src="((?:https?:)?//player.vimeo.com/video/.+?)"', webpage)
|
||||
if mobj:
|
||||
player_url = unescapeHTML(mobj.group(1))
|
||||
surl = smuggle_url(player_url, {'Referer': url})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue