mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-30 22:25:19 +00:00 
			
		
		
		
	[vimeo] Pass Referer for check-password request
This commit is contained in:
		| @@ -282,10 +282,10 @@ class VimeoIE(VimeoBaseInfoExtractor): | ||||
|         pass_url = url + '/check-password' | ||||
|         password_request = sanitized_Request(pass_url, data) | ||||
|         password_request.add_header('Content-Type', 'application/x-www-form-urlencoded') | ||||
|         password_request.add_header('Referer', url) | ||||
|         return self._download_json( | ||||
|             password_request, video_id, | ||||
|             'Verifying the password', | ||||
|             'Wrong password') | ||||
|             'Verifying the password', 'Wrong password') | ||||
|  | ||||
|     def _real_initialize(self): | ||||
|         self._login() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sergey M․
					Sergey M․