Tweepy SSLError regarding ssl certificate

后端 未结 5 1239
不思量自难忘°
不思量自难忘° 2021-01-06 05:13

I am running a REST API (Search API) with Tweepy in Python. I worked the program at home and it\'s totally fine. But now I am working on this in different networks and I got

5条回答
  •  余生分开走
    2021-01-06 06:10

    First, verify if you can access twitter just using a proxy configuration. If so, you can modify this line on your code to include a proxy URL:

    self.api = tweepy.API(self.auth)
    

提交回复
热议问题