Skip to content

Download failure #19

@RomainLpt31

Description

@RomainLpt31

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions