NicerWang

Results 4 comments of NicerWang

It's twitter's new restriction, now you need to login before searching. 1. call utils.init_driver to get a `driver` 2. call utils.log_in to login 3. pass `driver` to scrape() (**Need to...

In Your Code (**Add Your Twitter Account to .env File In Advance**) ```python from Scweet.scweet import scrape from Scweet.utils import init_driver, log_in driver = init_driver(headless=True, show_images=False, proxy="your_proxy_setting") log_in(driver, env=".env") data...

@Wish-s If you do not need a proxy(or VPN) to connect to twitter.com, just remove this parameter.

@Wish-s It's decided by your **proxy software**, in the format "PROTOCOL://IP:PORT". For [clash](https://github.com/Dreamacro/clash), it use "http://127.0.0.1:7890" as default.