C:\Users\User1>llvd -c what-is-php-for-wordpress -r 720
Please enter your Linkedin email address: mrshahid@outlook.com
Enter your Linkedin Password:
Traceback (most recent call last):
File "c:\python39\lib\site-packages\llvd\app.py", line 106, in download_entire_course
course_name = r.json()['elements'][0]['title']
KeyError: 'elements'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Python39\Scripts\llvd-script.py", line 33, in
sys.exit(load_entry_point('llvd==2.2.5', 'console_scripts', 'llvd')())
File "c:\python39\lib\site-packages\click\core.py", line 829, in call
return self.main(*args, **kwargs)
File "c:\python39\lib\site-packages\click\core.py", line 782, in main
rv = self.invoke(ctx)
File "c:\python39\lib\site-packages\click\core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "c:\python39\lib\site-packages\click\core.py", line 610, in invoke
return callback(*args, **kwargs)
File "c:\python39\lib\site-packages\llvd_init.py", line 60, in main
llvd.run()
File "c:\python39\lib\site-packages\llvd\app.py", line 81, in run
self.download_entire_course()
File "c:\python39\lib\site-packages\llvd\app.py", line 179, in download_entire_course
os.remove(f'{self.chapter_path}/{self.current_video_index:0=2d}-{clean_name(self.current_video_name)}.mp4')
TypeError: unsupported format string passed to NoneType.format_
You are getting this error because you are using the wrong slug for the course
Instead of using what-is-php-for-wordpress you should use php-for-wordpress.
It is advised to navigate to a course you are trying to download, then copy the slug from there instead of the course name
C:\Users\User1>llvd -c what-is-php-for-wordpress -r 720
Please enter your Linkedin email address: mrshahid@outlook.com
Enter your Linkedin Password:
Traceback (most recent call last):
File "c:\python39\lib\site-packages\llvd\app.py", line 106, in download_entire_course
course_name = r.json()['elements'][0]['title']
KeyError: 'elements'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Python39\Scripts\llvd-script.py", line 33, in
sys.exit(load_entry_point('llvd==2.2.5', 'console_scripts', 'llvd')())
File "c:\python39\lib\site-packages\click\core.py", line 829, in call
return self.main(*args, **kwargs)
File "c:\python39\lib\site-packages\click\core.py", line 782, in main
rv = self.invoke(ctx)
File "c:\python39\lib\site-packages\click\core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "c:\python39\lib\site-packages\click\core.py", line 610, in invoke
return callback(*args, **kwargs)
File "c:\python39\lib\site-packages\llvd_init.py", line 60, in main
llvd.run()
File "c:\python39\lib\site-packages\llvd\app.py", line 81, in run
self.download_entire_course()
File "c:\python39\lib\site-packages\llvd\app.py", line 179, in download_entire_course
os.remove(f'{self.chapter_path}/{self.current_video_index:0=2d}-{clean_name(self.current_video_name)}.mp4')
TypeError: unsupported format string passed to NoneType.format_
C:\Users\User1>
You are getting this error because you are using the wrong slug for the course
Instead of using
what-is-php-for-wordpress
you should usephp-for-wordpress
.It is advised to navigate to a course you are trying to download, then copy the slug from there instead of the course name
I am guessing this the course you were trying to download (linkedin.com/learning/php-for-word...
)
Make sure you also update to the latest version 2.2.6 with better error handling
Thanks for using the tool 😊