J3Patel / linkedin-learning-video-downloader

LinkedIn video learning video downloader July 2019
https://teenenggr.com/2019/07/21/linkedin-learning-video-downloader/
127 stars 60 forks source link

Empty Folders #7

Closed mfundoshabalala closed 3 years ago

mfundoshabalala commented 4 years ago

Traceback (most recent call last): File "M:\linkedin-learning-video-downloader-master\linkedin-learning-video-downloader-master\linkedin_learning.py", line 225, in loop.run_until_complete(process()) File "C:\Users\UserName\AppData\Local\Programs\Python\Python38-32\lib\asyncio\base_events.py", line 616, in run_until_complete return future.result() File "M:\linkedin-learning-video-downloader-master\linkedin-learning-video-downloader-master\linkedin_learning.py", line 213, in process await fetch_courses() File "M:\linkedin-learning-video-downloader-master\linkedin-learning-video-downloader-master\linkedin_learning.py", line 102, in fetch_courses return await asyncio.gather(map(fetch_course, COURSES)) File "M:\linkedin-learning-video-downloader-master\linkedin-learning-video-downloader-master\linkedin_learning.py", line 116, in fetch_course await fetch_chapters(course) File "M:\linkedin-learning-video-downloader-master\linkedin-learning-video-downloader-master\linkedin_learning.py", line 128, in fetch_chapters await asyncio.gather(chain.from_iterable(fetch_chapter(course, chapter) for chapter in course.chapters)) File "M:\linkedin-learning-video-downloader-master\linkedin-learning-video-downloader-master\linkedin_learning.py", line 162, in fetch_video video_url = data['elements'][0]['selectedVideo']['url']['progressiveUrl'] KeyError: 'url'

atj393 commented 4 years ago

I am also facing the same issue!

J3Patel commented 3 years ago

@atj393 @shbmfu003 can you try again now, if still getting same issue please add config file here. Thanks