0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-17 01:25:11 +00:00

[udemy] Allow authentication via cookies

This commit is contained in:
Sergey M․ 2015-12-01 22:10:10 +06:00
parent 3b35c3425e
commit 78717fc328

View file

@ -72,7 +72,7 @@ def _real_initialize(self):
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')