From 80083c0d9fcd1998fa7a3f75798ac5d3829ff473 Mon Sep 17 00:00:00 2001 From: Aaron Hill Date: Tue, 1 Jul 2014 07:51:28 -0400 Subject: [PATCH] Remove delimited=length from sample stream This causes Twitter to reject the request, for some reason. --- tweepy/streaming.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tweepy/streaming.py b/tweepy/streaming.py index b22299b..4d6c4fa 100644 --- a/tweepy/streaming.py +++ b/tweepy/streaming.py @@ -281,7 +281,6 @@ class Stream(object): self._start(async) def sample(self, async=False): - self.session.params = {'delimited': 'length'} if self.running: raise TweepError('Stream object already connected!') self.url = '/%s/statuses/sample.json?delimited=length' % STREAM_VERSION -- 2.25.1