projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d07af4e
)
Remove Stream.host
author
Harmon
<Harmon758@gmail.com>
Fri, 22 Jan 2021 23:33:37 +0000
(17:33 -0600)
committer
Harmon
<Harmon758@gmail.com>
Fri, 22 Jan 2021 23:33:37 +0000
(17:33 -0600)
tweepy/streaming.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/streaming.py
b/tweepy/streaming.py
index 12a23a5973e39174ec811ebb1a3a4153c13b0826..4a173c60231c43a645d9341aafca512b9ab8a13a 100644
(file)
--- a/
tweepy/streaming.py
+++ b/
tweepy/streaming.py
@@
-150,14
+150,13
@@
class Stream:
# Example: proxies = {'http': 'http://localhost:1080', 'https': 'http://localhost:1080'}
self.proxies = options.get("proxies")
- self.host = options.get('host', 'stream.twitter.com')
def new_session(self):
self.session = requests.Session()
def _run(self, params=None, body=None):
# Authenticate
- url = f"https://
{self.host}
{self.url}"
+ url = f"https://
stream.twitter.com
{self.url}"
# Connect and process the stream
error_counter = 0