commit
8c36586c2c
|
@ -72,7 +72,7 @@ def twitter(inp, api_key=None):
|
||||||
except IndexError:
|
except IndexError:
|
||||||
return 'error: not that many tweets found'
|
return 'error: not that many tweets found'
|
||||||
|
|
||||||
text = http.unescape(tweet["text"])
|
text = http.unescape(tweet["text"]).replace('\n', ' ')
|
||||||
screen_name = tweet["user"]["screen_name"]
|
screen_name = tweet["user"]["screen_name"]
|
||||||
time = tweet["created_at"]
|
time = tweet["created_at"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue