Tweepy SSLError regarding ssl certificate

后端 未结 5 1229
不思量自难忘°
不思量自难忘° 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:13

    In streaming.py, adding verify = False in line# 105 did the trick for me as shown below. Though it is not advisable to use this approach as it makes the connection unsafe. Haven't been able to come up with a workaround for this yet.

    stream = Stream(auth, listener, verify = False)
    

提交回复
热议问题