Open RomainLpt31 opened 3 years ago
Hi,
same problem on windows 10 with Python 3.9
Traceback (most recent call last):
File "C:\Linkedin\linkedin_learning.py", line 254, in
@neomrx @neomrx send me your config file
Hi,
now, it's impossible to download corrctely the video file, for every cours i recive this message "[~] Done fetching course" but file size still about 71Ko.
need your help.
No issue downloading. Make sure the config is edited correctly.
Edit the below path if you are using Win 10. BASE_DOWNLOAD_PATH = os.path.expanduser('~/Downloads')
This is a great project! By the way, would you be able to modify the code so that it downloads one file at a time? I think the download fails after waiting for too long to complete the writing process.
First of all, thanks a lot for this project!
But I have a problem when i want to download some courses. I use Debian 10.7 buster.
Here's the following error I always have:
Traceback (most recent call last): File "linkedin_learning.py", line 254, in <module> loop.run_until_complete(process()) File "/usr/lib/python3.7/asyncio/base_events.py", line 584, in run_until_complete return future.result() File "linkedin_learning.py", line 242, in process await fetch_courses() File "linkedin_learning.py", line 102, in fetch_courses return await asyncio.gather(*map(fetch_course, COURSES)) File "linkedin_learning.py", line 130, in fetch_course data = await resp.json() File "/home/*****/.local/lib/python3.7/site-packages/aiohttp/client_reqrep.py", line 1103, in json headers=self.headers, aiohttp.client_exceptions.ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: ', url=URL('https://www.linkedin.com/learning-api/detailedCourses??fields=videos&addParagraphsToTranscript=true&courseSlug=*****&q=slugs')
I have the same problem on my other Windows 10 computer with python 3.6