john melesky 8 лет назад
Родитель
Сommit
698448194c
1 измененных файлов с 402 добавлено и 0 удалено
  1. 402 0
      examples/examples.txt

+ 402 - 0
examples/examples.txt

@@ -0,0 +1,402 @@
+{'created_at': 'Mon Jan 16 03:47:42 +0000 2017',
+ 'full_text': 'RT @timgostony: Obama should resign a day early to make Biden '
+              "the 45th President just to ruin all of Trump's merchandise",
+ 'hashtags': [],
+ 'id': 820839922642849793,
+ 'id_str': '820839922642849793',
+ 'lang': 'en',
+ 'retweet_count': 33598,
+ 'retweeted_status': {'created_at': 'Sat Jan 14 18:26:23 +0000 2017',
+                      'favorite_count': 76152,
+                      'full_text': 'Obama should resign a day early to make '
+                                   'Biden the 45th President just to ruin all '
+                                   "of Trump's merchandise",
+                      'hashtags': [],
+                      'id': 820336273000841216,
+                      'id_str': '820336273000841216',
+                      'lang': 'en',
+                      'retweet_count': 33598,
+                      'source': '<a href="http://twitter.com/download/iphone" '
+                                'rel="nofollow">Twitter for iPhone</a>',
+                      'urls': [],
+                      'user': {'created_at': 'Mon Jan 18 18:42:21 +0000 2010',
+                               'description': 'App developer, photographer, '
+                                              'wanna-be joke teller. Download '
+                                              'my app & sleep great: '
+                                              '@RainRainApp.',
+                               'favourites_count': 4028,
+                               'followers_count': 773,
+                               'friends_count': 447,
+                               'geo_enabled': True,
+                               'id': 106172871,
+                               'lang': 'en',
+                               'listed_count': 31,
+                               'location': 'California',
+                               'name': 'Tim',
+                               'profile_background_color': '709397',
+                               'profile_background_image_url': 'http://abs.twimg.com/images/themes/theme6/bg.gif',
+                               'profile_banner_url': 'https://pbs.twimg.com/profile_banners/106172871/1469920697',
+                               'profile_image_url': 'http://pbs.twimg.com/profile_images/729912008712163329/ZJwS_wMg_normal.jpg',
+                               'profile_link_color': 'FF3300',
+                               'profile_sidebar_fill_color': 'A0C5C7',
+                               'profile_text_color': '333333',
+                               'screen_name': 'timgostony',
+                               'statuses_count': 1752,
+                               'url': 'https://t.co/0sFJLGK556'},
+                      'user_mentions': []},
+ 'source': '<a href="http://twitter.com/download/iphone" '
+           'rel="nofollow">Twitter for iPhone</a>',
+ 'urls': [],
+ 'user': {'created_at': 'Thu Aug 23 11:44:32 +0000 2012',
+          'description': 'Social worker, writer, mother of small children. In '
+                         'lieu of condolences and kick starters, send wine and '
+                         'ibuprofen.',
+          'favourites_count': 480,
+          'followers_count': 406,
+          'following': True,
+          'friends_count': 406,
+          'id': 775785140,
+          'lang': 'en',
+          'listed_count': 8,
+          'location': 'Colorado, USA',
+          'name': 'ParlerToddler',
+          'profile_background_color': 'B2DFDA',
+          'profile_background_image_url': 'http://abs.twimg.com/images/themes/theme13/bg.gif',
+          'profile_banner_url': 'https://pbs.twimg.com/profile_banners/775785140/1433019464',
+          'profile_image_url': 'http://pbs.twimg.com/profile_images/725043806660259840/Imuy-llr_normal.jpg',
+          'profile_link_color': '93A644',
+          'profile_sidebar_fill_color': 'FFFFFF',
+          'profile_text_color': '333333',
+          'screen_name': 'Parler_Toddler',
+          'statuses_count': 1731,
+          'time_zone': 'Amsterdam',
+          'utc_offset': 3600},
+ 'user_mentions': [{'id': 106172871,
+                    'name': 'Tim',
+                    'screen_name': 'timgostony'}]}
+---------
+{'created_at': 'Mon Jan 16 03:16:51 +0000 2017',
+ 'full_text': 'RT @repjohnlewis: Even though I was arrested, I smiled bc I was '
+              'on the right side of history. Find a way to get in the way '
+              '#goodtrouble htt…',
+ 'hashtags': [{'text': 'goodtrouble'}],
+ 'id': 820832158558228481,
+ 'id_str': '820832158558228481',
+ 'lang': 'en',
+ 'retweet_count': 31078,
+ 'retweeted_status': {'created_at': 'Sun Jul 19 19:03:51 +0000 2015',
+                      'favorite_count': 61153,
+                      'full_text': 'Even though I was arrested, I smiled bc I '
+                                   'was on the right side of history. Find a '
+                                   'way to get in the way #goodtrouble '
+                                   'http://t.co/SN0K6lHbqO',
+                      'hashtags': [{'text': 'goodtrouble'}],
+                      'id': 622844317162434560,
+                      'id_str': '622844317162434560',
+                      'lang': 'en',
+                      'media': [{'display_url': 'pic.twitter.com/SN0K6lHbqO',
+                                 'expanded_url': 'https://twitter.com/repjohnlewis/status/622844317162434560/photo/1',
+                                 'id': 622844315857911808,
+                                 'media_url': 'http://pbs.twimg.com/media/CKTJmvUVAAAZWys.jpg',
+                                 'media_url_https': 'https://pbs.twimg.com/media/CKTJmvUVAAAZWys.jpg',
+                                 'sizes': {'large': {'h': 467,
+                                                     'resize': 'fit',
+                                                     'w': 343},
+                                           'medium': {'h': 467,
+                                                      'resize': 'fit',
+                                                      'w': 343},
+                                           'small': {'h': 463,
+                                                     'resize': 'fit',
+                                                     'w': 340},
+                                           'thumb': {'h': 150,
+                                                     'resize': 'crop',
+                                                     'w': 150}},
+                                 'type': 'photo',
+                                 'url': 'http://t.co/SN0K6lHbqO'}],
+                      'retweet_count': 31078,
+                      'source': '<a href="http://twitter.com" '
+                                'rel="nofollow">Twitter Web Client</a>',
+                      'urls': [],
+                      'user': {'created_at': 'Tue Apr 07 13:49:52 +0000 2009',
+                               'description': "Congressman, Georgia's Fifth "
+                                              'Congressional District',
+                               'favourites_count': 1369,
+                               'followers_count': 340962,
+                               'friends_count': 168,
+                               'id': 29450962,
+                               'lang': 'en',
+                               'listed_count': 3669,
+                               'location': 'Atlanta, GA',
+                               'name': 'John Lewis',
+                               'profile_background_color': '1289FF',
+                               'profile_background_image_url': 'http://pbs.twimg.com/profile_background_images/110674807/P1040022c.JPG',
+                               'profile_banner_url': 'https://pbs.twimg.com/profile_banners/29450962/1363708574',
+                               'profile_image_url': 'http://pbs.twimg.com/profile_images/751446634429575169/KWfWsq0W_normal.jpg',
+                               'profile_link_color': '0084B4',
+                               'profile_sidebar_fill_color': 'DDEEF6',
+                               'profile_text_color': '333333',
+                               'screen_name': 'repjohnlewis',
+                               'statuses_count': 1667,
+                               'time_zone': 'Eastern Time (US & Canada)',
+                               'url': 'http://t.co/jkhd3kZYNd',
+                               'utc_offset': -18000,
+                               'verified': True},
+                      'user_mentions': []},
+ 'source': '<a href="http://twitter.com/download/iphone" '
+           'rel="nofollow">Twitter for iPhone</a>',
+ 'urls': [],
+ 'user': {'created_at': 'Sat Sep 20 03:47:46 +0000 2008',
+          'description': 'Writer of Ruby on Rails code. Griller of animal '
+                         'protein. Player of video games. Hiker of trails. '
+                         'Drinker of beer.',
+          'favourites_count': 205,
+          'followers_count': 189,
+          'following': True,
+          'friends_count': 285,
+          'geo_enabled': True,
+          'id': 16374404,
+          'lang': 'en',
+          'listed_count': 19,
+          'location': 'Portland, Oregon',
+          'name': 'Ryan Golec',
+          'profile_background_color': '1A1B1F',
+          'profile_background_image_url': 'http://abs.twimg.com/images/themes/theme9/bg.gif',
+          'profile_banner_url': 'https://pbs.twimg.com/profile_banners/16374404/1420387341',
+          'profile_image_url': 'http://pbs.twimg.com/profile_images/645446567164428288/I2as8uEL_normal.jpg',
+          'profile_link_color': '2FC2EF',
+          'profile_sidebar_fill_color': '252429',
+          'profile_text_color': '666666',
+          'screen_name': 'GolecR',
+          'statuses_count': 4703,
+          'time_zone': 'Pacific Time (US & Canada)',
+          'utc_offset': -28800},
+ 'user_mentions': [{'id': 29450962,
+                    'name': 'John Lewis',
+                    'screen_name': 'repjohnlewis'}]}
+---------
+{'created_at': 'Mon Jan 16 02:56:25 +0000 2017',
+ 'full_text': "RT @ASlavitt: ACA repeal affects many who aren't aware.\n"
+              '\n'
+              'Here are the people impacted on in one place.\n'
+              '\n'
+              'RT if you think helpful. https://t.…',
+ 'hashtags': [],
+ 'id': 820827017620975621,
+ 'id_str': '820827017620975621',
+ 'lang': 'en',
+ 'retweet_count': 30669,
+ 'retweeted_status': {'created_at': 'Fri Jan 13 18:20:10 +0000 2017',
+                      'favorite_count': 18063,
+                      'full_text': "ACA repeal affects many who aren't aware.\n"
+                                   '\n'
+                                   'Here are the people impacted on in one '
+                                   'place.\n'
+                                   '\n'
+                                   'RT if you think helpful. '
+                                   'https://t.co/1TmP1J1KGD',
+                      'hashtags': [],
+                      'id': 819972320265728000,
+                      'id_str': '819972320265728000',
+                      'lang': 'en',
+                      'media': [{'display_url': 'pic.twitter.com/1TmP1J1KGD',
+                                 'expanded_url': 'https://twitter.com/ASlavitt/status/819972320265728000/photo/1',
+                                 'id': 819972307917516800,
+                                 'media_url': 'http://pbs.twimg.com/media/C2EgeDsUsAAP2QC.jpg',
+                                 'media_url_https': 'https://pbs.twimg.com/media/C2EgeDsUsAAP2QC.jpg',
+                                 'sizes': {'large': {'h': 1816,
+                                                     'resize': 'fit',
+                                                     'w': 1497},
+                                           'medium': {'h': 1200,
+                                                      'resize': 'fit',
+                                                      'w': 989},
+                                           'small': {'h': 680,
+                                                     'resize': 'fit',
+                                                     'w': 561},
+                                           'thumb': {'h': 150,
+                                                     'resize': 'crop',
+                                                     'w': 150}},
+                                 'type': 'photo',
+                                 'url': 'https://t.co/1TmP1J1KGD'}],
+                      'retweet_count': 30669,
+                      'source': '<a href="http://twitter.com/#!/download/ipad" '
+                                'rel="nofollow">Twitter for iPad</a>',
+                      'urls': [],
+                      'user': {'created_at': 'Sat Apr 27 01:21:12 +0000 2013',
+                               'default_profile': True,
+                               'description': 'Acting Administrator, Centers '
+                                              'for Medicare and Medicaid '
+                                              'Services @cmsgov. After Jan. '
+                                              '20, the mission is not over.',
+                               'favourites_count': 6473,
+                               'followers_count': 14981,
+                               'friends_count': 300,
+                               'id': 1383272101,
+                               'lang': 'en',
+                               'listed_count': 384,
+                               'location': 'Edina, MN and Washington, DC',
+                               'name': 'Andy Slavitt',
+                               'profile_background_color': 'C0DEED',
+                               'profile_background_image_url': 'http://abs.twimg.com/images/themes/theme1/bg.png',
+                               'profile_banner_url': 'https://pbs.twimg.com/profile_banners/1383272101/1482018630',
+                               'profile_image_url': 'http://pbs.twimg.com/profile_images/814665958044430336/3njteHHh_normal.jpg',
+                               'profile_link_color': '1DA1F2',
+                               'profile_sidebar_fill_color': 'DDEEF6',
+                               'profile_text_color': '333333',
+                               'screen_name': 'ASlavitt',
+                               'statuses_count': 4519,
+                               'time_zone': 'Pacific Time (US & Canada)',
+                               'utc_offset': -28800,
+                               'verified': True},
+                      'user_mentions': []},
+ 'source': '<a href="http://twitter.com/download/android" '
+           'rel="nofollow">Twitter for Android</a>',
+ 'urls': [],
+ 'user': {'created_at': 'Wed Jul 27 21:30:59 +0000 2011',
+          'description': 'Alternating layers of warm fuzzy exuberance and cold '
+                         'hard logic, held together with empathy, generosity, '
+                         'and scotch.',
+          'favourites_count': 171,
+          'followers_count': 210,
+          'following': True,
+          'friends_count': 164,
+          'id': 343639019,
+          'lang': 'en',
+          'listed_count': 5,
+          'location': 'Chicago, IL',
+          'name': 'cdrLogic',
+          'profile_background_color': 'CFD9E6',
+          'profile_background_image_url': 'http://abs.twimg.com/images/themes/theme1/bg.png',
+          'profile_image_url': 'http://pbs.twimg.com/profile_images/1465051811/Untitled_normal.gif',
+          'profile_link_color': 'D02B55',
+          'profile_sidebar_fill_color': 'C9E09B',
+          'profile_text_color': '3E4415',
+          'screen_name': 'cdrLogic',
+          'statuses_count': 2634,
+          'time_zone': 'Pacific Time (US & Canada)',
+          'utc_offset': -28800},
+ 'user_mentions': [{'id': 1383272101,
+                    'name': 'Andy Slavitt',
+                    'screen_name': 'ASlavitt'}]}
+---------
+{'created_at': 'Mon Jan 16 22:41:58 +0000 2017',
+ 'full_text': 'RT @wilfredchan: Shoutout to the U.S. representatives standing '
+              'with John Lewis in abstaining from the inauguration of a '
+              'racist, misogynisti…',
+ 'hashtags': [],
+ 'id': 821125370401275904,
+ 'id_str': '821125370401275904',
+ 'lang': 'en',
+ 'retweet_count': 25055,
+ 'retweeted_status': {'created_at': 'Sat Jan 14 04:33:53 +0000 2017',
+                      'favorite_count': 50888,
+                      'full_text': 'Shoutout to the U.S. representatives '
+                                   'standing with John Lewis in abstaining '
+                                   'from the inauguration of a racist, '
+                                   'misogynistic, unfit leader: '
+                                   'https://t.co/EfgaPxez7N',
+                      'hashtags': [],
+                      'id': 820126767885078532,
+                      'id_str': '820126767885078532',
+                      'lang': 'en',
+                      'media': [{'display_url': 'pic.twitter.com/EfgaPxez7N',
+                                 'expanded_url': 'https://twitter.com/wilfredchan/status/820126767885078532/photo/1',
+                                 'id': 820126330389872640,
+                                 'media_url': 'http://pbs.twimg.com/media/C2GsjWHVQAAahKy.jpg',
+                                 'media_url_https': 'https://pbs.twimg.com/media/C2GsjWHVQAAahKy.jpg',
+                                 'sizes': {'large': {'h': 1200,
+                                                     'resize': 'fit',
+                                                     'w': 960},
+                                           'medium': {'h': 1200,
+                                                      'resize': 'fit',
+                                                      'w': 960},
+                                           'small': {'h': 680,
+                                                     'resize': 'fit',
+                                                     'w': 544},
+                                           'thumb': {'h': 150,
+                                                     'resize': 'crop',
+                                                     'w': 150}},
+                                 'type': 'photo',
+                                 'url': 'https://t.co/EfgaPxez7N'},
+                                {'display_url': 'pic.twitter.com/EfgaPxez7N',
+                                 'expanded_url': 'https://twitter.com/wilfredchan/status/820126767885078532/photo/1',
+                                 'id': 820126337780236289,
+                                 'media_url': 'http://pbs.twimg.com/media/C2GsjxpVQAEAw9b.jpg',
+                                 'media_url_https': 'https://pbs.twimg.com/media/C2GsjxpVQAEAw9b.jpg',
+                                 'sizes': {'large': {'h': 1024,
+                                                     'resize': 'fit',
+                                                     'w': 1024},
+                                           'medium': {'h': 1024,
+                                                      'resize': 'fit',
+                                                      'w': 1024},
+                                           'small': {'h': 680,
+                                                     'resize': 'fit',
+                                                     'w': 680},
+                                           'thumb': {'h': 150,
+                                                     'resize': 'crop',
+                                                     'w': 150}},
+                                 'type': 'photo',
+                                 'url': 'https://t.co/EfgaPxez7N'}],
+                      'retweet_count': 25055,
+                      'source': '<a href="http://twitter.com" '
+                                'rel="nofollow">Twitter Web Client</a>',
+                      'urls': [],
+                      'user': {'created_at': 'Sun Dec 07 07:39:21 +0000 2008',
+                               'description': 'journalist. grumpy asian. '
+                                              'social editor @fusion, '
+                                              'contributor @cnnstyle. past: '
+                                              '@cnn writer/producer, '
+                                              '@whitehouse intern, @columbia '
+                                              'alum',
+                               'favourites_count': 4789,
+                               'followers_count': 14545,
+                               'friends_count': 1034,
+                               'id': 17938103,
+                               'lang': 'en',
+                               'listed_count': 435,
+                               'location': 'Hong Kong',
+                               'name': 'Wilfred Chan',
+                               'profile_background_color': 'C0DEED',
+                               'profile_background_image_url': 'http://pbs.twimg.com/profile_background_images/551958142423027712/5nzJR3TV.jpeg',
+                               'profile_banner_url': 'https://pbs.twimg.com/profile_banners/17938103/1457490625',
+                               'profile_image_url': 'http://pbs.twimg.com/profile_images/691255628933656576/CZKOd7wN_normal.jpg',
+                               'profile_link_color': '634C48',
+                               'profile_sidebar_fill_color': 'DDEEF6',
+                               'profile_text_color': '333333',
+                               'screen_name': 'wilfredchan',
+                               'statuses_count': 5848,
+                               'time_zone': 'Hong Kong',
+                               'url': 'https://t.co/ZZAuwD1jiB',
+                               'utc_offset': 28800,
+                               'verified': True},
+                      'user_mentions': []},
+ 'source': '<a href="http://twitter.com" rel="nofollow">Twitter Web Client</a>',
+ 'urls': [],
+ 'user': {'created_at': 'Thu Dec 13 17:15:45 +0000 2007',
+          'description': "Pronounced 'kuh-rawn-duh'. PDX Wordpress developer. "
+                         'Married to @pdxj. Black queer feminist outrage, cats '
+                         'and code. Pro tweets @karveldigital Avatar by '
+                         '@joanchao',
+          'favourites_count': 14427,
+          'followers_count': 4684,
+          'following': True,
+          'friends_count': 1137,
+          'id': 11134232,
+          'lang': 'en',
+          'listed_count': 387,
+          'location': 'Portland, OR',
+          'name': 'Kronda',
+          'profile_background_color': '9AE4E8',
+          'profile_background_image_url': 'http://pbs.twimg.com/profile_background_images/2524796/Crater_Lake-220.JPG',
+          'profile_banner_url': 'https://pbs.twimg.com/profile_banners/11134232/1377758943',
+          'profile_image_url': 'http://pbs.twimg.com/profile_images/785273990054973440/3XoriZKF_normal.jpg',
+          'profile_link_color': '0000FF',
+          'profile_sidebar_fill_color': 'BB7FD5',
+          'profile_text_color': '000000',
+          'screen_name': 'kronda',
+          'statuses_count': 56568,
+          'time_zone': 'Pacific Time (US & Canada)',
+          'url': 'http://t.co/r24ifKuefK',
+          'utc_offset': -28800},
+ 'user_mentions': [{'id': 17938103,
+                    'name': 'Wilfred Chan',
+                    'screen_name': 'wilfredchan'}]}