InstaPy / instagram-profilecrawl

📝 quickly crawl the information (e.g. followers, tags etc...) of an instagram profile.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

login failed

arip-1990 opened this issue · comments

I commented out the line 'chrome_options.add_argument (' - headless ')' and looked in the browser. authorization is successful

and how to get information about comments and likes for the post. those. how to get usernames like or comment

there is no such class on the instagram site 'WebDriverWait (browser, 10) .until (EC.presence_of_element_located ((By.CLASS_NAME, "XrOey")))'.
account.py file line 62

after fixing the error a new error appeared:
FileNotFoundError: [Errno 2] No such file or directory:' ./cookies/cookies-arip_1990.pkl '

new error 'Object of type InstagramUser is not JSON serializable'

new error 'Object of type InstagramUser is not JSON serializable'

Hi, i change:
from:
Datasaver.save_profile_json(username,information)
to:
Datasaver.save_profile_json(username, information.to_dict())

in the file: crawl_profile_with_login.py

and it Works

commented

there is no such class on the instagram site 'WebDriverWait (browser, 10) .until (EC.presence_of_element_located ((By.CLASS_NAME, "XrOey")))'.
account.py file line 62

how did you solved errors after this line?

there is no such class on the instagram site 'WebDriverWait (browser, 10) .until (EC.presence_of_element_located ((By.CLASS_NAME, "XrOey")))'.
account.py file line 62

how did you solved errors after this line?

I don't remember