@classmethod
def parse(cls, api, json):
status = cls(api)
-
- # I'm not proud. Blame billg.
- json['text'] = str(json['text'].encode('ascii', 'ignore'))[2:-1]
- if 'user' in json:
- json['user']['screen_name'] = str(json['user']['screen_name'].encode('ascii', 'ignore'))[2:-1]
-
setattr(status, '_json', json)
for k, v in json.items():
if k == 'user':