r0oth3x49 / lynda-dl

A cross-platform python based utility to download courses from lynda.com for personal offline use.
MIT License
295 stars 95 forks source link

lynda login issue #60

Closed jaan143 closed 5 years ago

jaan143 commented 5 years ago

[] : Trying to login as (1234@gmail.com)... Traceback (most recent call last): File "lynda-dl.py", line 395, in main() File "lynda-dl.py", line 389, in main lynda.course_download(skip_captions=options.skip_captions, path=options.output, quality=options.quality) File "lynda-dl.py", line 162, in course_download course = lynda.course(url=self.url, username=self.username, password=self.password, organization=self.organization, cookies=self.cookies) File "C:\Users\HDNLRG1011\lynda_lynda.py", line 38, in course return Lynda(url, username, password, organization, cookies, basic, callback) File "C:\Users\HDNLRG1011\lynda_internal.py", line 43, in init super(InternLyndaCourse, self).init(args, kwargs) File "C:\Users\HDNLRG1011\lynda_shared.py", line 65, in init self._fetch_course() File "C:\Users\HDNLRG1011\lynda_internal.py", line 49, in _fetch_course auth = self._login(username=self._username, password=self._password, organization=self._organization) File "C:\Users\HDNLRG1011\lynda_extract.py", line 93, in _login self._session = auth.authenticate() File "C:\Users\HDNLRG1011\lynda_auth.py", line 190, in authenticate return self._user_session() File "C:\Users\HDNLRG1011\lynda_auth.py", line 84, in _user_session response, url = self._user_login_steps(password_form, AJAX_USERNAME, {'email': self.username, 'password': self.passw ord}, signin_url) File "C:\Users\HDNLRG1011\lynda_auth.py", line 59, in _user_login_steps webpage = self._session.post(fallback_action_url, data=data, headers={'Referer': referrer_url, 'X-Requested-With': ' XMLHttpRequest'}).json() File "C:\Program Files\Python35\lib\site-packages\requests\models.py", line 892, in json return complexjson.loads(self.text, kwargs) File "C:\Program Files\Python35\lib\json__init__.py", line 319, in loads return _default_decoder.decode(s) File "C:\Program Files\Python35\lib\json\decoder.py", line 339, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "C:\Program Files\Python35\lib\json\decoder.py", line 357, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) PS C:\Users\HDNLRG1011>

fazee6 commented 5 years ago

Account has been provided for the community. Thanks bro for all your efforts support the developer those who can

r0oth3x49 commented 5 years ago

@jaan143 the issue is fixed and working fine for me. Capture