vladkens / twscrape

2024! X / Twitter API scrapper with authorization support. Allows you to scrape search results, User's profiles (followers/following), Tweets (favoriters/retweeters) and more.
https://pypi.org/project/twscrape/
MIT License
1.12k stars 133 forks source link

Question: SSL verification problem while using proxy #198

Closed Chirag200207 closed 4 months ago

Chirag200207 commented 5 months ago

2024-06-03 14:58:43.524 | WARNING | twscrape.queue_client:req:243 - Unknown error. Account timeouted for 15 minutes. Create issue please: https://github.com/vladkens/twscrape/issues If it mistake, you can unlock account now with twscrape reset_locks. Err: <class 'ssl.SSLCertVerificationError'>: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:992)

i am using brightdata for proxy

vladkens commented 4 months ago

Hi. @Chirag200207

There are a lot of problems with proxies. I can't answer exactly what the problem is.

Try requesting other sites via https protocol (eg: https://google.com, https://reddit.com/). If you get the same error on them, then the problem is in a particular proxy. If not, you need more information.

PS. I will close issues for now, re-open if you have more questions