Browse Source

[vimeo] Fix redirection

totalwebcasting
pulpe 10 years ago
parent
commit
10831b5ec9
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      youtube_dl/extractor/vimeo.py

+ 2
- 0
youtube_dl/extractor/vimeo.py View File

@ -223,6 +223,8 @@ class VimeoIE(VimeoBaseInfoExtractor):
orig_url = url
if mobj.group('pro') or mobj.group('player'):
url = 'https://player.vimeo.com/video/' + video_id
else:
url = 'https://vimeo.com/' + video_id
# Retrieve video webpage to extract further information
request = compat_urllib_request.Request(url, None, headers)


Loading…
Cancel
Save