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

KeyError ['url']['progressiveUrl'] #30

Open
Indiana3714 opened this issue Oct 12, 2019 · 3 comments
Open

KeyError ['url']['progressiveUrl'] #30

Indiana3714 opened this issue Oct 12, 2019 · 3 comments

Comments

@Indiana3714
Copy link

Line 165, there is no longer a keys for ['url']['progressiveUrl']

@quinn-p-mchugh
Copy link

quinn-p-mchugh commented Oct 26, 2019

Got the same error. Creation of the course's folder hierarchy works great, but have yet to successfully download any videos.

image

@Jramirezg
Copy link

Same issue here.
Traceback (most recent call last):
File "linkedin_learning.py", line 234, in
loop.run_until_complete(process())
File "/usr/lib/python3.8/asyncio/base_events.py", line 608, in run_until_complete
return future.result()
File "linkedin_learning.py", line 222, 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 116, in fetch_course
await fetch_chapters(course)
File "linkedin_learning.py", line 128, in fetch_chapters
await asyncio.gather(*chain.from_iterable(fetch_chapter(course, chapter) for chapter in course.chapters))
File "linkedin_learning.py", line 139, in fetch_video_or_wait
await fetch_video(course, chapter, video)
File "linkedin_learning.py", line 165, in fetch_video
video_url = data['elements'][0]['selectedVideo']['url']['progressiveUrl']
KeyError: 'url'

Are you using an educational linkedin learninig account? y linkedin profile is linked to a university, I am guessing that is the reason why it is failing.

@DM2602
Copy link

DM2602 commented Jul 31, 2020

Have the same problem, this happens only on specific videos. I had courses run fine but then some other videos from other courses recreate this error.

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

4 participants