Further improve tweet text handling
This commit is contained in:
parent
a66f815916
commit
eb70076565
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ while True:
|
||||||
for status in timeline:
|
for status in timeline:
|
||||||
if status.text.find("@" + user) > 1:
|
if status.text.find("@" + user) > 1:
|
||||||
continue
|
continue
|
||||||
text = status.text.encode("UTF-8").split(" ")[1]
|
text = status.text.encode("UTF-8")[status.text.find(" ")+1:]
|
||||||
sender = status.user.screen_name.encode("UTF-8")
|
sender = status.user.screen_name.encode("UTF-8")
|
||||||
twid = int(status.id)
|
twid = int(status.id)
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue