Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Download failure #55

@F-9-os

Description

@F-9-os

Hi @liranbg, thank you for coding :)

How can I get over this problem?

Traceback (most recent call last):
  File ".\linkedin_learning.py", line 283, in <module> loop.run_until_complete(process())
  File "C:\***\AppData\Local\Programs\Python\Python37-32\lib\asyncio\base_events.py", line 579, in run_until_complete return future.result()
  File ".\linkedin_learning.py", line 271, in process await fetch_courses()
  File ".\linkedin_learning.py", line 119, in fetch_courses return await asyncio.gather(*map(fetch_course, COURSES))
  File ".\linkedin_learning.py", line 128, in fetch_course    data = await resp.json()
  File "C:\***\AppData\Local\Programs\Python\Python37-32\lib\site-packages\aiohttp\client_reqrep.py", line 1031, 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=fullCourseUnlocked,releasedOn,exerciseFileUrls,exerciseFiles&addParagraphsToTranscript=true&courseSlug=***&q=slugs')

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