skip to Main Content

Tweepy OpenSSL.SSL.WantReadError – Twitter API

Python 3.6. I use the streamer of tweepy to get tweets. It works well. But sometimes, if I let it open for more than 24h, I have this error Traceback (most recent call last): File "C:ProgramDataAnaconda3libsite-packagesrequestspackagesurllib3contribpyopenssl.py", line 277, in recv_into…

VIEW QUESTION

Tweepy cursor .pages() with api.search_users returning same page again and again – Twitter API

auth = tweepy.OAuthHandler(consumer_token, consumer_secret) auth.set_access_token(access_token, access_secret) api = tweepy.API(auth) user_objs = [] name = "phungsuk wangdu" id_strs = {} page_no = 0 try: for page in tweepy.Cursor(api.search_users, name).pages(3): dup_count = 0 print("******* Page", str(page_no)) print("Length of page", len(page)) user_objs.extend(page) for…

VIEW QUESTION
Back To Top
Search