Skip to content

Instantly share code, notes, and snippets.

@renzon
Forked from anonymous/gist:305a93f53348551d2728
Last active August 29, 2015 14:05
Show Gist options
  • Save renzon/5d63495c8dde2b09a74d to your computer and use it in GitHub Desktop.
Save renzon/5d63495c8dde2b09a74d to your computer and use it in GitHub Desktop.
s = """{u'search_metadata': {u'count': 100, u'completed_in': 0.23599999999999999, u'max_id_str': u'407528290757668864', u'since_id_str': u'0', u'next_r
esults': u'?max_id=407528086326870015&q=%23PlateiaLuanSantana&count=100&include_entities=1', u'refresh_url': u'?since_id=407528290757668864&q=%2
3PlateiaLuanSantana&include_entities=1', u'since_id': 0, u'query': u'%23PlateiaLuanSantana', u'max_id': 407528290757668864}, u'statuses': [{u'co
ntributors': None, u'truncated': False, u'text': u'#PlateiaLuanSantana NUNCA FUI POR FAVOR ME SORTEIA @CFLuanSantana u', u'in_reply_to_status_id
': None, u'id': 407528290757668864, u'favorite_count': 0, u'source': u'<a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for i
Phone</a>', u'retweeted': False, u'coordinates': None, u'entities': {u'symbols': [], u'user_mentions': [{u'id': 177021046, u'indices': [51, 65],
u'id_str': u'177021046', u'screen_name': u'CFLuanSantana', u'name': u'Central de f\xe3s LS.'}], u'hashtags': [{u'indices': [0, 19], u'text': u'
PlateiaLuanSantana'}], u'urls': []}, u'in_reply_to_screen_name': None, u'in_reply_to_user_id': None, u'retweet_count': 0, u'id_str': u'407528290
757668864', u'favorited': False, u'user': {u'follow_request_sent': None, u'profile_use_background_image': True, u'default_profile_image': False,
u'id': 1563868879, u'verified': False, u'profile_text_color': u'333333', u'profile_image_url_https': u'https://pbs.twimg.com/profile_images/378
800000817029003/8eb8b07384d809b847410e7987a6f9af_normal.jpeg', u'profile_sidebar_fill_color': u'DDEEF6', u'entities': {u'description': {u'urls':
[]}}, u'followers_count': 656, u'profile_sidebar_border_color': u'FFFFFF', u'id_str': u'1563868879', u'profile_background_color': u'FAFAFA', u'
listed_count': 0, u'profile_background_image_url_https': u'https://si0.twimg.com/profile_background_images/378800000121258482/a03e93b90b22b08893
c7317001522d47.png', u'utc_offset': -7200, u'statuses_count': 2505, u'description': u'o para\xedso \xe9 estar ao seu lado', u'friends_count': 38
9, u'location': u'', u'profile_link_color': u'B8AFB4', u'profile_image_url': u'http://pbs.twimg.com/profile_images/378800000817029003/8eb8b07384
d809b847410e7987a6f9af_normal.jpeg', u'following': None, u'geo_enabled': False, u'profile_banner_url': u'https://pbs.twimg.com/profile_banners/1
563868879/1385748464', u'profile_background_image_url': u'http://a0.twimg.com/profile_background_images/378800000121258482/a03e93b90b22b08893c73
17001522d47.png', u'screen_name': u'13thmarchluan', u'lang': u'pt', u'profile_background_tile': True, u'favourites_count': 18, u'name': u'Isabel
la', u'notifications': None, u'url': None, u'created_at': u'Tue Jul 02 18:43:25 +0000 2013', u'contributors_enabled': False, u'time_zone': u'Bra
silia', u'protected': False, u'default_profile': False, u'is_translator': False}, u'geo': None, u'in_reply_to_user_id_str': None, u'lang': u'pt'
, u'created_at': u'Mon Dec 02 15:14:50 +0000 2013', u'in_reply_to_status_id_str': None, u'place': None, u'metadata': {u'iso_language_code': u'pt
', u'result_type': u'recent'}}]}"""
# retirando as linhas extras
s = s.replace('\n', '')
dct = eval(s)
print(dct)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment