Closed DrewLukas closed 5 years ago
I have the same error and it is the first time that I use this tool.
I'm also having this.
Did you manage to fix this?
No, still having the same error message 'Access to is DENIED'. Does anyone have a solution?
No, still having the same error message 'Access to is DENIED'. Does anyone have a solution?
I don't know if someone already solved this problem. Here is what I did
I opened linkedin_learning.py and went to line 114 (where it is checking if Granted or Denied) I just commented the if and return
Saved the script and started it again It works for me
This is for sure not a pretty solution but a good bypass Enjoy guys
MagicRico, you are a hero. Thank you!
I have changed
After this change I am getting KeyError: 'url'
I have changed
if not course.unlocked:
Nothing to do here
return
After this change I am getting KeyError: 'url'
Can you make a screenshot please
MagicRico, thank you! It worked!
MagicRico, thank you! It worked!
You are welcome
I have changed
if not course.unlocked:
Nothing to do here
return
After this change I am getting KeyError: 'url'
Can you make a screenshot please
Please find the attachment, please.
I have changed
if not course.unlocked:
Nothing to do here
return
After this change I am getting KeyError: 'url'
Can you make a screenshot please
Please find the attachment, please.
I tried to download the course 'git-essential-training' first time I started the script I had same errors, it only achieved to create the chapters structure then I connected to the course on linkedin website to check if I could watch it correctly and btw I checked the video url if it doesn't look strange. I didn't see anything So I started again and again, after two time, it completed to download (you can see the screenshot).
If you already have the chapters structure then i can only advice you to keep trying to start the script
PS : don't mind if my script called lld.py (this is exactly the same script just renamed to type it faster)
I tried many times from yesterday, but no luck. I have linked organization account for LinkedIn learning into my personal account. In username and password section I gave my personal account details, Am I doing correctly? Advice me how to get rid of this.
After I tried so many times, I started getting KeyError: 'elements' (PFA)
I tried many times from yesterday, but no luck. I have linked organization account for LinkedIn learning into my personal account. In username and password section I gave my personal account details, Am I doing correctly? Advice me how to get rid of this.
1st) try if you can connect to your linkedin account and watch the courses 2nd) After starting the script and failed, check if it already built the folders structure (name of the courses, chapters name)? 3rd) don't give up
Hi MagicRico, Still I am getting the same issue, not able to download the videos...
Hi Sharuresh,
I've had this a few times but if you keep running the code without any changes it eventually works. Not sure what the issue is.
I have probably found the issue. Try to download no more than two courses at the time.
The reason is that for each course and each video, the code generates a new request. That means if you have 10 courses with 50 videos each, you generate 500 requests at the same time. The system is unable to handle this amount of requests.
I gave only one course, for that only I was getting keyerror which I mentioned earlier.
@shasureshkumar I had the same issue. The problem is that the purpose of this download version is to download the files asynchronous (this means it starts downloading all files at once rather then one by one). If you download even just a single course that contains a lot of videos the script may exit immediatly showing you the error
KeyError: 'url'
So I suggest you to use a script that downloads the videos one by one instead of asynchronously. The original repository https://github.com/mclmza/linkedin-learning-downloader has been taken down, but you can also use https://github.com/ha100/linkedin-learning-downloader for example.
@iwasherefirst2, I have tried your new code and getting the below error.
ERROR - Can't download the video [........], probably is only for premium users
FYI, I have linked my corporate account with my personal account (I can view the video).
No, still having the same error message 'Access to is DENIED'. Does anyone have a solution?
I don't know if someone already solved this problem. Here is what I did
I opened linkedin_learning.py and went to line 114 (where it is checking if Granted or Denied) I just commented the if and return
if not course.unlocked:
Nothing to do here
return
Saved the script and started it again It works for me
This is for sure not a pretty solution but a good bypass Enjoy guys
That worked for me. Thank you!
#if not course.unlocked:
# Nothing to do here
# return
i commented these lines and then it worked for me but you have to give the command python "linkedin_learning.py" everytime it completes until it say that your course is done.
Download youtube-dl
https://github.com/ytdl-org/youtube-dl
youtube-dl.exe --username "user" --password "pass" -o "C:\Users\user\Downloads\linkedin-learning-downloader-master\downloads\%(playlist_title)s\Lesson %(chapter_number)02d - %(chapter)s/%(playlist_index)s - %(title)s.%(ext)s" -f "bestvideo[height<=720]+bestaudio/best[height<=720]" --playlist-start 1 --verbose --min-sleep-interval 90 --max-sleep-interval 130 https://www.linkedin.com/learning/python-para-data-scientist-avanzado/
--write-sub Write subtitle file
@diieduarte, When I use youtube-dl I am getting "ERROR: No video formats found;" after one chapter downloaded.
youtube-dl --username "user" --password "password" -o "/Users/sshanmugavel/Desktop/temp/linkedin-git/downloads/%(playlist_title)s/Lesson %(chapter_number)02d - %(chapter)s/%(playlist_index)s - %(title)s.%(ext)s" -f "bestvideo[height<=720]+bestaudio/best[height<=720]" --playlist-start 1 --verbose --write-sub --min-sleep-interval 90 --max-sleep-interval 130 https://www.linkedin.com/learning/git-essential-training
fixed on #21 && #22
Hi,
What's the reason why I get 'Access to is DENIED' in command prompt? A couple days ago everything was working fine.
Somebody an idea
D:\Process\LinkedIn>python linkedin_learning.py 2018-11-17 15:47:32,281 asyncio DEBUG Using selector: SelectSelector 2018-11-17 15:47:32,311 root INFO [] -------------Login------------- 2018-11-17 15:47:32,312 root INFO [] Login step 1 - Getting CSRF token... 2018-11-17 15:47:32,774 root DEBUG [] CSRF: 497f9701-76f4-42d7-8314-78993b5e6e83 2018-11-17 15:47:32,774 root INFO [] Login step 1 - Done 2018-11-17 15:47:32,775 root INFO [] Login step 2 - Logging In... 2018-11-17 15:47:33,664 root INFO [] Login step 2 - Done 2018-11-17 15:47:33,665 root INFO [] -------------Done------------- 2018-11-17 15:47:33,665 root INFO [] -------------Fetching Course------------- 2018-11-17 15:47:34,348 asyncio ERROR Unclosed connection client_connection: Connection<ConnectionKey(host='www.linkedin.com', port=443, is_ssl=True, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=-1125722543)> 2018-11-17 15:47:34,351 root INFO [] Access to Making Sense of the CSS Box Model is DENIED 2018-11-17 15:47:34,352 root INFO [] -------------Done-------------