projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d3ea5c
)
Fix userstreams. Use delimited!
author
Joshua Roesslein
<jroesslein@gmail.com>
Mon, 9 Jul 2012 06:31:54 +0000
(23:31 -0700)
committer
Joshua Roesslein
<jroesslein@gmail.com>
Mon, 9 Jul 2012 06:31:54 +0000
(23:31 -0700)
tweepy/streaming.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/streaming.py
b/tweepy/streaming.py
index 2d76a97353fb0ff949ebf23fe10907dcf22d70d0..ecc4847b33c513c22115483148c6a3af20709d7e 100644
(file)
--- a/
tweepy/streaming.py
+++ b/
tweepy/streaming.py
@@
-176,12
+176,11
@@
class Stream(object):
pass
def userstream(self, count=None, async=False, secure=True):
+ self.parameters = {'delimited': 'length'}
if self.running:
raise TweepError('Stream object already connected!')
- self.url = '/2/user.json'
+ self.url = '/2/user.json
?delimited=length
'
self.host='userstream.twitter.com'
- if count:
- self.url += '&count=%s' % count
self._start(async)
def firehose(self, count=None, async=False):