mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-11-04 08:35:12 +00:00 
			
		
		
		
	[vimeo] Fix redirection
This commit is contained in:
		@@ -223,6 +223,8 @@ class VimeoIE(VimeoBaseInfoExtractor):
 | 
				
			|||||||
        orig_url = url
 | 
					        orig_url = url
 | 
				
			||||||
        if mobj.group('pro') or mobj.group('player'):
 | 
					        if mobj.group('pro') or mobj.group('player'):
 | 
				
			||||||
            url = 'https://player.vimeo.com/video/' + video_id
 | 
					            url = 'https://player.vimeo.com/video/' + video_id
 | 
				
			||||||
 | 
					        else:
 | 
				
			||||||
 | 
					            url = 'https://vimeo.com/' + video_id
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        # Retrieve video webpage to extract further information
 | 
					        # Retrieve video webpage to extract further information
 | 
				
			||||||
        request = compat_urllib_request.Request(url, None, headers)
 | 
					        request = compat_urllib_request.Request(url, None, headers)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user