mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-11-04 08:35:12 +00:00 
			
		
		
		
	[ie/vimeo] Fix login error handling (#14280)
Closes #14279 Authored by: bashonly
This commit is contained in:
		@@ -151,7 +151,7 @@ class VimeoBaseInfoExtractor(InfoExtractor):
 | 
				
			|||||||
                    'Referer': self._LOGIN_URL,
 | 
					                    'Referer': self._LOGIN_URL,
 | 
				
			||||||
                })
 | 
					                })
 | 
				
			||||||
        except ExtractorError as e:
 | 
					        except ExtractorError as e:
 | 
				
			||||||
            if isinstance(e.cause, HTTPError) and e.cause.status in (405, 418):
 | 
					            if isinstance(e.cause, HTTPError) and e.cause.status in (404, 405, 418):
 | 
				
			||||||
                raise ExtractorError(
 | 
					                raise ExtractorError(
 | 
				
			||||||
                    'Unable to log in: bad username or password',
 | 
					                    'Unable to log in: bad username or password',
 | 
				
			||||||
                    expected=True)
 | 
					                    expected=True)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user