aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/udemy.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-12-01 22:10:10 +0600
committerSergey M․ <dstftw@gmail.com>2015-12-01 22:10:10 +0600
commit78717fc32802cb1e0f240cfbdf02207c6356ff2b (patch)
treed7880068b7ed1d745e26b803bcc659af0ef0403d /youtube_dl/extractor/udemy.py
parent3b35c3425e2c4d9836a3efe5cf73e35a60f674d1 (diff)
[udemy] Allow authentication via cookies
Diffstat (limited to 'youtube_dl/extractor/udemy.py')
-rw-r--r--youtube_dl/extractor/udemy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/udemy.py b/youtube_dl/extractor/udemy.py
index 9d31a3f5b..e743c0262 100644
--- a/youtube_dl/extractor/udemy.py
+++ b/youtube_dl/extractor/udemy.py
@@ -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')