Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Zahra Rajabi
tweepy
Commits
80083c0d
Commit
80083c0d
authored
Jul 01, 2014
by
Aaron Hill
Browse files
Remove delimited=length from sample stream
This causes Twitter to reject the request, for some reason.
parent
acca9d66
Changes
1
Hide whitespace changes
Inline
Side-by-side
tweepy/streaming.py
View file @
80083c0d
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment