Further improve tweet text handling

This commit is contained in:
Klaus-Uwe Mitterer 2015-03-18 23:20:46 +01:00
parent a66f815916
commit eb70076565

View file

@ -33,7 +33,7 @@ while True:
for status in timeline:
if status.text.find("@" + user) > 1:
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")
twid = int(status.id)
try: