projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a3f495
)
Remove STREAM_VERSION
author
Harmon
<Harmon758@gmail.com>
Sat, 23 Jan 2021 17:23:31 +0000
(11:23 -0600)
committer
Harmon
<Harmon758@gmail.com>
Sat, 23 Jan 2021 17:23:31 +0000
(11:23 -0600)
tweepy/streaming.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/streaming.py
b/tweepy/streaming.py
index 530ffe0b28790f9037aa4ec330e51165bc20909f..ba8b508ffa3bd8c22bcc6f5b603c0948c968e0d9 100644
(file)
--- a/
tweepy/streaming.py
+++ b/
tweepy/streaming.py
@@
-19,8
+19,6
@@
from tweepy.api import API
from tweepy.error import TweepError
from tweepy.models import Status
-STREAM_VERSION = '1.1'
-
log = logging.getLogger(__name__)
@@
-153,7
+151,7
@@
class Stream:
if self.session is None:
self.session = requests.Session()
- url = f"https://stream.twitter.com/
{STREAM_VERSION}
/{endpoint}.json"
+ url = f"https://stream.twitter.com/
1.1
/{endpoint}.json"
auth = OAuth1(self.consumer_key, self.consumer_secret,
self.access_token, self.access_token_secret)