Scweet icon indicating copy to clipboard operation
Scweet copied to clipboard

env_path not a keyword argument for Scrape

Open AkimfromParis opened this issue 2 years ago • 0 comments

Hello,

I am trying to scrape an account. It seems that login and password are necessary nowadays. I created the .env and put it in the root but it doesn't have an argument on the Scrape function.

Should I implement it in Chromedriver? Any ideas? Thank you!

from Scweet.scweet import scrape from Scweet.user import get_user_information, get_users_following, get_users_followers

env_path = ".env"

data = scrape(since="2022-01-01", until="2023-02-12", from_account = 'XXX', interval=1,headless=False, display_type="Top", save_images=False, filter_replies=True, proximity=False)

AkimfromParis avatar Feb 13 '23 21:02 AkimfromParis