]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[udemy] Allow authentication via cookies
authorSergey M․ <dstftw@gmail.com>
Tue, 1 Dec 2015 16:10:10 +0000 (22:10 +0600)
committerSergey M․ <dstftw@gmail.com>
Tue, 1 Dec 2015 16:10:10 +0000 (22:10 +0600)
youtube_dl/extractor/udemy.py

index 9d31a3f5bbbf5528b2b541d46a720d3070b277b0..e743c0262c90aa351e94ded3754f938b64b87175 100644 (file)
@@ -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')