mirror of
				https://github.com/ytdl-org/youtube-dl
				synced 2025-11-04 11:43:47 +00:00 
			
		
		
		
	[udemy] Allow authentication via cookies
This commit is contained in:
		
							parent
							
								
									3b35c3425e
								
							
						
					
					
						commit
						78717fc328
					
				@ -72,7 +72,7 @@ class UdemyIE(InfoExtractor):
 | 
			
		||||
    def _login(self):
 | 
			
		||||
        (username, password) = self._get_login_info()
 | 
			
		||||
        if username is None:
 | 
			
		||||
            self.raise_login_required('Udemy account is required')
 | 
			
		||||
            return
 | 
			
		||||
 | 
			
		||||
        login_popup = self._download_webpage(
 | 
			
		||||
            self._LOGIN_URL, None, 'Downloading login popup')
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user