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

Download failure #55

Open
F-9-os opened this issue Nov 14, 2020 · 0 comments
Open

Download failure #55

F-9-os opened this issue Nov 14, 2020 · 0 comments

Comments

@F-9-os
Copy link

F-9-os commented Nov 14, 2020

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')
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant