projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acca9d6
)
Remove delimited=length from sample stream
author
Aaron Hill
<aa1ronham@gmail.com>
Tue, 1 Jul 2014 11:51:28 +0000
(07:51 -0400)
committer
Aaron Hill
<aa1ronham@gmail.com>
Tue, 1 Jul 2014 11:55:26 +0000
(07:55 -0400)
This causes Twitter to reject the request, for some reason.
tweepy/streaming.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/streaming.py
b/tweepy/streaming.py
index b22299b83e3467cd3dc33c90f846947a505437fe..4d6c4fa2267a9c458a27293c50bfd2ca99664ce7 100644
(file)
--- 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