aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/generic.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-01-08 22:42:52 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-01-08 22:42:52 +0100
commit3fabeaa1f49d6ce15d67bfe31cad80002cdc5c94 (patch)
tree8504f8ea179ffa2d1fb0e68578f5f3c009397d41 /youtube_dl/extractor/generic.py
parent35aa7098cd22249e3ab446925a27c57572ff49d9 (diff)
[vimeo] Support protocol-relative URLs
Diffstat (limited to 'youtube_dl/extractor/generic.py')
-rw-r--r--youtube_dl/extractor/generic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py
index ff23161d7..a9023f38d 100644
--- a/youtube_dl/extractor/generic.py
+++ b/youtube_dl/extractor/generic.py
@@ -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})