aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/lynda.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-08-05 19:52:04 +0600
committerSergey M․ <dstftw@gmail.com>2015-08-05 19:52:04 +0600
commit8a5601e42f6974e6694f01089b4c7e014b6a1b7a (patch)
tree5f9cb9a08ed35ebfc6757ae036adabe36aa299f2 /youtube_dl/extractor/lynda.py
parenta346b1ff57a94382e80fd4edd5a6d4b91a7cb45e (diff)
[lynda] Fix login (Closes #6462)
Diffstat (limited to 'youtube_dl/extractor/lynda.py')
-rw-r--r--youtube_dl/extractor/lynda.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/lynda.py b/youtube_dl/extractor/lynda.py
index a00f6e5e5..39214de2f 100644
--- a/youtube_dl/extractor/lynda.py
+++ b/youtube_dl/extractor/lynda.py
@@ -17,7 +17,7 @@ from ..utils import (
class LyndaBaseIE(InfoExtractor):
_LOGIN_URL = 'https://www.lynda.com/login/login.aspx'
- _SUCCESSFUL_LOGIN_REGEX = r'isLoggedIn: true'
+ _SUCCESSFUL_LOGIN_REGEX = r'isLoggedIn\s*:\s*true'
_ACCOUNT_CREDENTIALS_HINT = 'Use --username and --password options to provide lynda.com account credentials.'
_NETRC_MACHINE = 'lynda'