osome-iu / botometer-python

A Python API for Botometer by OSoMe
https://botometer.osome.iu.edu
MIT License
378 stars 60 forks source link

How do I set up a proxy? #66

Closed shiwangsimba closed 3 years ago

shiwangsimba commented 3 years ago

There is a problem with my network. I can open Twitter in Google, but the running code will report an error: TimeoutError: [WinError 10060] image

so I tried to use the proxy method. I added the parameter 'proxy' to tweepy.API image

but it still reported another error: image

filmenczer commented 3 years ago

This may be because Tweepy just released a new version 4.0.0 that is not backward compatible.

Until we can update botometer-python, you could try to install Tweepy v3.10.0 or an earlier version