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 has been archived by the owner on Aug 12, 2024. It is now read-only.
Code :
from twitter_scraper import Profile
profile = Profile("bugraisguzar")
print(profile.to_dict())
give me this error:
Traceback (most recent call last):
File "D:\Testing_all_project\twitter-scraper.py", line 2, in
profile = Profile("bugraisguzar")
File "D:\Testing_all_project\env\lib\site-packages\twitter_scraper\modules\profile.py", line 41, in init
self.__parse_profile(page)
File "D:\Testing_all_project\env\lib\site-packages\twitter_scraper\modules\profile.py", line 65, in __parse_profile
self.location = html.find(".ProfileHeaderCard-locationText")[0].text
UnboundLocalError: local variable 'html' referenced before assignment
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Code :
from twitter_scraper import Profile
profile = Profile("bugraisguzar")
print(profile.to_dict())
give me this error:
Traceback (most recent call last):
File "D:\Testing_all_project\twitter-scraper.py", line 2, in
profile = Profile("bugraisguzar")
File "D:\Testing_all_project\env\lib\site-packages\twitter_scraper\modules\profile.py", line 41, in init
self.__parse_profile(page)
File "D:\Testing_all_project\env\lib\site-packages\twitter_scraper\modules\profile.py", line 65, in __parse_profile
self.location = html.find(".ProfileHeaderCard-locationText")[0].text
UnboundLocalError: local variable 'html' referenced before assignment
The text was updated successfully, but these errors were encountered: