You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 27, 2020. It is now read-only.
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')
Hi @liranbg, thank you for coding :)
How can I get over this problem?