from linkedin_api import Linkedin
l = Linkedin('***', '***')
print(l.get_user_profile())
Error:
Traceback (most recent call last):
File "C:\Users\***\main.py", line 3, in <module>
l = Linkedin('***','***')
File "C:\Users\***\lib\site-packages\linkedin_api\linkedin.py", line 69, in __init__
self.client.authenticate(username, password)
File "C:\Users\***\lib\site-packages\linkedin_api\client.py", line 99, in authenticate
self._fetch_metadata()
File "C:\Users\***\lib\site-packages\linkedin_api\client.py", line 120, in _fetch_metadata
clientApplicationInstanceRaw = soup.find(
AttributeError: 'NoneType' object has no attribute 'attrs'
Trying run simple code for test API:
Error: