Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "TwitterCollector.py", line 129, in <module>
- search_tweets(keywords)
- File "TwitterCollector.py", line 53, in search_tweets
- statuses = api.search(q=keyword, tweet_mode="extended", count="100", max_id=str(prev_ids[keyword] - 1))
- File "/home/ubuntu/.local/lib/python3.6/site-packages/tweepy/binder.py", line 250, in _call
- return method.execute()
- File "/home/ubuntu/.local/lib/python3.6/site-packages/tweepy/binder.py", line 191, in execute
- six.reraise(TweepError, TweepError('Failed to send request: %s' % e), sys.exc_info()[2])
- File "/home/ubuntu/.local/lib/python3.6/site-packages/six.py", line 692, in reraise
- raise value.with_traceback(tb)
- File "/home/ubuntu/.local/lib/python3.6/site-packages/tweepy/binder.py", line 189, in execute
- proxies=self.api.proxy)
- File "/home/ubuntu/.local/lib/python3.6/site-packages/requests/sessions.py", line 533, in request
- resp = self.send(prep, **send_kwargs)
- File "/home/ubuntu/.local/lib/python3.6/site-packages/requests/sessions.py", line 686, in send
- r.content
- File "/home/ubuntu/.local/lib/python3.6/site-packages/requests/models.py", line 828, in content
- self._content = b''.join(self.iter_content(CONTENT_CHUNK_SIZE)) or b''
- File "/home/ubuntu/.local/lib/python3.6/site-packages/requests/models.py", line 753, in generate
- raise ChunkedEncodingError(e)
- tweepy.error.TweepError: Failed to send request: ('Connection broken: OSError("(104, \'ECONNRESET\')",)', OSError("(104, 'ECONNRESET')",))
Advertisement
Add Comment
Please, Sign In to add comment