r0oth3x49/lynda-dl

JSONDecodeError : it seems your cookies got expired, provide again.

AntiGov opened this issue · 18 comments

JSONDecodeError : it seems your cookies got expired, provide again.
the error happened only if course flaged with icon locked which mean the authenticated user dont have access to the course

Getting the same error. But I have access to the video normally in the browser. Any way I can help to find the issue? A log perhaps?

@AntiGov i will take a look at this issue and fix ASAP. sorry for late response.

@AntiGov i will take a look at this issue and fix ASAP. sorry for late response.

Actually lynda is upgraded to Linkedin Learning that why it is showing Cookie Expired any lynda dl is not working in new up-gradation because course url is changed .

will this ever be fixed? is there an alternative downloader which can be used meanwhile?

We need to change all urls in regular expression and some code refactoring after that it will work

Fix this issue (ASAP). We need your tools. Your tools is great.

@AntiGov i will take a look at this issue and fix ASAP. sorry for late response.

Actually lynda is upgraded to Linkedin Learning that why it is showing Cookie Expired any lynda dl is not working in new up-gradation because course url is changed .

this is not the case, the problem as i mention above the error accrued only when course flaged as locked, which mean you dont have access to it

in my case it happens with all videos

any update on this or useful workaraounds/alternatives?

2 different error :(

4
&
5

any update?

I was running into this issue as well. Turns out that if a video doesn't have a valid subtitle file, Lynda returns invalid JSON which causes lynda-dl to fail. Try executing with the --skip-sub option. Also, I have a PR that fixed the issue (for me).

@controversy187 what does PR mean?

Pull Request. I wrote a patch for this code and have requested that it be merged into the main project. In the meantime, have you tried downloading with the --skip-sub option? I didn't test that, but I think that would have fixed the issue (in my case), as I don't need the subs.

@controversy187 I tried with the --skip-sub option but didn't fixed the issue.

@AntiGov the error could be resolved by providing the new cookies, the session gets expired which leads to this error, so if you refresh your session in browser and provide the cookie again it will work fine.

I'm logging in with organization portal. No cookies involved in it. Still getting this error.

@ahmed-alii can you please explain a bit more?