Skip to content
Snippets Groups Projects
Commit 75721e7a authored by Felipe Ramos's avatar Felipe Ramos
Browse files

open file in case it doesnt exist

parent 150f1d54
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,7 @@ import sys
collector_type = sys.argv[1]
cityCoord = '-34.926068,138.736903,60km'
#change code to your current Twitter account
API_key = 'SZS77byadyNlV99Vc0JQvDNS3'
......@@ -14,8 +15,12 @@ baerer_token = 'AAAAAAAAAAAAAAAAAAAAAIq9OwEAAAAAZWncNeg2Hjj80ehT39b%2FenLaHI0%3D
access_token = "1386612665682853892-Tp6J5KfT4Wr8gsIPYSr2G5W15axUlj"
access_secret = "hN59hNhidGKLJpsJ8nX8Dr2EEB4m9ny0w70K2Fd0dpY8Q"
import os.path
outfile = open('twt_stream.json', 'r+', encoding ='utf-8')
if os.path.isfile('twt_stream.json'):
outfile = open('twt_stream.json', 'a+', encoding ='utf-8')
else:
outfile = open('twt_stream.json', 'w+', encoding ='utf-8')
class StreamListener(tweepy.StreamListener):
......@@ -78,12 +83,17 @@ if __name__ == "__main__":
tags=['AFL', 'tennis', 'footie', 'swimming', 'AustraliaOpen', 'soccer']
box = [144.5,-38.2,145.49,-37.41] #Melb box
#box = [144.5,-38.2,145.49,-37.41] #Melb box
box = [138.01,-35.5,139.4,-34.4] #Adelaide
stream.filter(track=tags, locations= box, languages=["en"])
stream.filter(track=tags, locations= box, languages=["en"])
#north: -37.41,
#south: -38.20311,
#east: 145.41,
#west: 144.5,
elif collector_type == 'search':
......@@ -91,7 +101,7 @@ if __name__ == "__main__":
twts = {}
# capure the most data
for tweet in api.search(q="AFL OR tennis OR footie OR swimming OR AustraliaOpen OR soccer", geocode='-37.7980882,144.9334346,60km', count=100, tweet_mode="extended"):
for tweet in api.search(q="AFL OR tennis OR footie OR swimming OR AustraliaOpen OR soccer", geocode=cityCoord, count=100, tweet_mode="extended"):
#tweet = tweet._json
print("")
print(tweet.user.screen_name)
......@@ -109,7 +119,7 @@ if __name__ == "__main__":
# twts[tweet.id] = tweet
# Get responses
for tweet in api.search(q='to:'+ v.user.screen_name, geocode='-37.7980882,144.9334346,60km', count=100, sinceId = v.id):
for tweet in api.search(q='to:'+ v.user.screen_name, geocode=cityCoord, count=100, sinceId = v.id):
if tweet.in_reply_to_status_id_str == v.id_str:
replies.append(tweet)
twts[tweet.id_str] = tweet
......@@ -118,7 +128,7 @@ if __name__ == "__main__":
# loops to get all responses of responses
while replies:
current = replies.pop(0)
for tweet in api.search(q='to:'+ current.user.screen_name, geocode='-37.7980882,144.9334346,60km', count=100, sinceId = current.id):
for tweet in api.search(q='to:'+ current.user.screen_name, geocode=cityCoord, count=100, sinceId = current.id):
if tweet.in_reply_to_status_id_str == current.id_str:
replies.append(tweet)
twts[tweet.id_str] = tweet
......
{'1392746986147811329': {'created_at': 'Thu May 13 07:42:12 +0000 2021', 'id': 1392746986147811329, 'id_str': '1392746986147811329', 'text': 'Plans for Saturday 15th May\n\nCricket:\n\nYears 7, 8, 9 and 10: 9.30 - 11.30\n\nTennis:\n\nYears 7 and 8: 9.30 - 10.30\n\nYe… https://t.co/Wd04OMNvmr', 'source': '<a href="https://mobile.twitter.com" rel="nofollow">Twitter Web App</a>', 'truncated': True, 'in_reply_to_status_id': None, 'in_reply_to_status_id_str': None, 'in_reply_to_user_id': None, 'in_reply_to_user_id_str': None, 'in_reply_to_screen_name': None, 'user': {'id': 830734128, 'id_str': '830734128', 'name': 'Hymers College Sport', 'screen_name': 'HymersSport', 'location': 'Hull', 'url': 'http://www.hymerscollegesport.co.uk', 'description': 'Keep up to date with all the latest news from the Hymers College PE & Games Department', 'translator_type': 'none', 'protected': False, 'verified': False, 'followers_count': 2216, 'friends_count': 428, 'listed_count': 14, 'favourites_count': 4392, 'statuses_count': 11505, 'created_at': 'Tue Sep 18 10:11:11 +0000 2012', 'utc_offset': None, 'time_zone': None, 'geo_enabled': True, 'lang': None, 'contributors_enabled': False, 'is_translator': False, 'profile_background_color': '000000', 'profile_background_image_url': 'http://abs.twimg.com/images/themes/theme1/bg.png', 'profile_background_image_url_https': 'https://abs.twimg.com/images/themes/theme1/bg.png', 'profile_background_tile': True, 'profile_link_color': 'FF0000', 'profile_sidebar_border_color': 'FFFFFF', 'profile_sidebar_fill_color': 'DDEEF6', 'profile_text_color': '333333', 'profile_use_background_image': True, 'profile_image_url': 'http://pbs.twimg.com/profile_images/781120865492754432/aurGAVFM_normal.jpg', 'profile_image_url_https': 'https://pbs.twimg.com/profile_images/781120865492754432/aurGAVFM_normal.jpg', 'profile_banner_url': 'https://pbs.twimg.com/profile_banners/830734128/1563624249', 'default_profile': False, 'default_profile_image': False, 'following': None, 'follow_request_sent': None, 'notifications': None, 'withheld_in_countries': []}, 'geo': None, 'coordinates': None, 'place': None, 'contributors': None, 'is_quote_status': False, 'extended_tweet': {'full_text': 'Plans for Saturday 15th May\n\nCricket:\n\nYears 7, 8, 9 and 10: 9.30 - 11.30\n\nTennis:\n\nYears 7 and 8: 9.30 - 10.30\n\nYears 9 and 10: 10.30 - 11.30\n\nRounders:\n\nYears 7 and 8: 10.30 - 11.30\n\nIf we need to cancel or alter arrangements, details will be posted on schoogle and twitter.', 'display_text_range': [0, 276], 'entities': {'hashtags': [], 'urls': [], 'user_mentions': [], 'symbols': []}}, 'quote_count': 0, 'reply_count': 0, 'retweet_count': 0, 'favorite_count': 0, 'entities': {'hashtags': [], 'urls': [{'url': 'https://t.co/Wd04OMNvmr', 'expanded_url': 'https://twitter.com/i/web/status/1392746986147811329', 'display_url': 'twitter.com/i/web/status/1…', 'indices': [117, 140]}], 'user_mentions': [], 'symbols': []}, 'favorited': False, 'retweeted': False, 'filter_level': 'low', 'lang': 'en', 'timestamp_ms': '1620891732142', '_id': '1392746986147811329', 'region': 'Melbourne'}}
{'1392746989461377027': {'created_at': 'Thu May 13 07:42:12 +0000 2021', 'id': 1392746989461377027, 'id_str': '1392746989461377027', 'text': '‘There’s no accomplishment or power that will protect you from the clutches of inequality’ Soccer star (at)mpinoe… https://t.co/Etl0CmnVH0', 'source': '<a href="https://www.socialjukebox.com" rel="nofollow">The Social Jukebox</a>', 'truncated': True, 'in_reply_to_status_id': None, 'in_reply_to_status_id_str': None, 'in_reply_to_user_id': None, 'in_reply_to_user_id_str': None, 'in_reply_to_screen_name': None, 'user': {'id': 289118612, 'id_str': '289118612', 'name': 'Tomthunkit™', 'screen_name': 'TomthunkitsMind', 'location': 'In Your Mind Now', 'url': 'http://gofundme.com/260th5qnpc', 'description': "Tomthunkit's Mind Diner is open 24/7. All-you-can-eat smorgasbord of hand-picked deliciously sweet tweets for your political palate. Invest ($) in your future", 'translator_type': 'none', 'protected': False, 'verified': False, 'followers_count': 75902, 'friends_count': 71231, 'listed_count': 917, 'favourites_count': 27177, 'statuses_count': 2759998, 'created_at': 'Thu Apr 28 01:56:15 +0000 2011', 'utc_offset': None, 'time_zone': None, 'geo_enabled': True, 'lang': None, 'contributors_enabled': False, 'is_translator': False, 'profile_background_color': 'FFFFFF', 'profile_background_image_url': 'http://abs.twimg.com/images/themes/theme12/bg.gif', 'profile_background_image_url_https': 'https://abs.twimg.com/images/themes/theme12/bg.gif', 'profile_background_tile': True, 'profile_link_color': 'FF691F', 'profile_sidebar_border_color': 'F2E195', 'profile_sidebar_fill_color': 'FFF7CC', 'profile_text_color': '0C3E53', 'profile_use_background_image': True, 'profile_image_url': 'http://pbs.twimg.com/profile_images/1071761767611670533/vNTh69MD_normal.jpg', 'profile_image_url_https': 'https://pbs.twimg.com/profile_images/1071761767611670533/vNTh69MD_normal.jpg', 'profile_banner_url': 'https://pbs.twimg.com/profile_banners/289118612/1611463502', 'default_profile': False, 'default_profile_image': False, 'following': None, 'follow_request_sent': None, 'notifications': None, 'withheld_in_countries': []}, 'geo': None, 'coordinates': None, 'place': None, 'contributors': None, 'is_quote_status': False, 'extended_tweet': {'full_text': '‘There’s no accomplishment or power that will protect you from the clutches of inequality’ Soccer star (at)mpinoe spoke to Congress about the fight for equality on the field and beyond for #EqualPayDay https://t.co/TVwgDu333L 02', 'display_text_range': [0, 230], 'entities': {'hashtags': [{'text': 'EqualPayDay', 'indices': [191, 203]}], 'urls': [], 'user_mentions': [], 'symbols': [], 'media': [{'id': 1374767678951456769, 'id_str': '1374767678951456769', 'indices': [204, 227], 'additional_media_info': {'title': 'Megan Rapinoe Speaks to Congress for Equal Pay Day', 'description': '‘There’s no accomplishment or power that will protect you from the clutches of inequality’ Soccer star @mpinoe spoke to Congress about the fight for\xa0equality ', 'embeddable': True, 'monetizable': True}, 'media_url': 'http://pbs.twimg.com/media/ExQoOWaXMAQeEbX.jpg', 'media_url_https': 'https://pbs.twimg.com/media/ExQoOWaXMAQeEbX.jpg', 'url': 'https://t.co/TVwgDu333L', 'display_url': 'pic.twitter.com/TVwgDu333L', 'expanded_url': 'https://twitter.com/nowthisnews/status/1375066938464854020/video/1', 'type': 'video', 'video_info': {'aspect_ratio': [1, 1], 'duration_millis': 188556, 'variants': [{'bitrate': 832000, 'content_type': 'video/mp4', 'url': 'https://video.twimg.com/amplify_video/1374767678951456769/vid/540x540/JYcJtJZ6kxt7MI0F.mp4?tag=14'}, {'bitrate': 1280000, 'content_type': 'video/mp4', 'url': 'https://video.twimg.com/amplify_video/1374767678951456769/vid/720x720/xqX4k7MFJ6r_Ufyb.mp4?tag=14'}, {'bitrate': 432000, 'content_type': 'video/mp4', 'url': 'https://video.twimg.com/amplify_video/1374767678951456769/vid/320x320/FiBrulBFSY1SW5xn.mp4?tag=14'}, {'content_type': 'application/x-mpegURL', 'url': 'https://video.twimg.com/amplify_video/1374767678951456769/pl/b4Ip65nbJ0JNSuNN.m3u8?tag=14'}]}, 'sizes': {'medium': {'w': 540, 'h': 540, 'resize': 'fit'}, 'thumb': {'w': 150, 'h': 150, 'resize': 'crop'}, 'large': {'w': 540, 'h': 540, 'resize': 'fit'}, 'small': {'w': 540, 'h': 540, 'resize': 'fit'}}, 'source_status_id': 1375066938464854020, 'source_status_id_str': '1375066938464854020', 'source_user_id': 701725963, 'source_user_id_str': '701725963'}]}, 'extended_entities': {'media': [{'id': 1374767678951456769, 'id_str': '1374767678951456769', 'indices': [204, 227], 'additional_media_info': {'title': 'Megan Rapinoe Speaks to Congress for Equal Pay Day', 'description': '‘There’s no accomplishment or power that will protect you from the clutches of inequality’ Soccer star @mpinoe spoke to Congress about the fight for\xa0equality ', 'embeddable': True, 'monetizable': True}, 'media_url': 'http://pbs.twimg.com/media/ExQoOWaXMAQeEbX.jpg', 'media_url_https': 'https://pbs.twimg.com/media/ExQoOWaXMAQeEbX.jpg', 'url': 'https://t.co/TVwgDu333L', 'display_url': 'pic.twitter.com/TVwgDu333L', 'expanded_url': 'https://twitter.com/nowthisnews/status/1375066938464854020/video/1', 'type': 'video', 'video_info': {'aspect_ratio': [1, 1], 'duration_millis': 188556, 'variants': [{'bitrate': 832000, 'content_type': 'video/mp4', 'url': 'https://video.twimg.com/amplify_video/1374767678951456769/vid/540x540/JYcJtJZ6kxt7MI0F.mp4?tag=14'}, {'bitrate': 1280000, 'content_type': 'video/mp4', 'url': 'https://video.twimg.com/amplify_video/1374767678951456769/vid/720x720/xqX4k7MFJ6r_Ufyb.mp4?tag=14'}, {'bitrate': 432000, 'content_type': 'video/mp4', 'url': 'https://video.twimg.com/amplify_video/1374767678951456769/vid/320x320/FiBrulBFSY1SW5xn.mp4?tag=14'}, {'content_type': 'application/x-mpegURL', 'url': 'https://video.twimg.com/amplify_video/1374767678951456769/pl/b4Ip65nbJ0JNSuNN.m3u8?tag=14'}]}, 'sizes': {'medium': {'w': 540, 'h': 540, 'resize': 'fit'}, 'thumb': {'w': 150, 'h': 150, 'resize': 'crop'}, 'large': {'w': 540, 'h': 540, 'resize': 'fit'}, 'small': {'w': 540, 'h': 540, 'resize': 'fit'}}, 'source_status_id': 1375066938464854020, 'source_status_id_str': '1375066938464854020', 'source_user_id': 701725963, 'source_user_id_str': '701725963'}]}}, 'quote_count': 0, 'reply_count': 0, 'retweet_count': 0, 'favorite_count': 0, 'entities': {'hashtags': [], 'urls': [{'url': 'https://t.co/Etl0CmnVH0', 'expanded_url': 'https://twitter.com/i/web/status/1392746989461377027', 'display_url': 'twitter.com/i/web/status/1…', 'indices': [117, 140]}], 'user_mentions': [], 'symbols': []}, 'favorited': False, 'retweeted': False, 'possibly_sensitive': False, 'filter_level': 'low', 'lang': 'en', 'timestamp_ms': '1620891732932', '_id': '1392746989461377027', 'region': 'Melbourne'}}
{'1392746998038679552': {'created_at': 'Thu May 13 07:42:14 +0000 2021', 'id': 1392746998038679552, 'id_str': '1392746998038679552', 'text': 'Swimming Paddles Webbed Swimming Silicone Paddles Children Paddles Adult S9O1 #ebay #sport\xa0#sports https://t.co/pcToFcKW2G', 'source': '<a href="http://publicize.wp.com/" rel="nofollow">WordPress.com</a>', 'truncated': False, 'in_reply_to_status_id': None, 'in_reply_to_status_id_str': None, 'in_reply_to_user_id': None, 'in_reply_to_user_id_str': None, 'in_reply_to_screen_name': None, 'user': {'id': 1342126517770280962, 'id_str': '1342126517770280962', 'name': 'SA - Sporting Goods', 'screen_name': 'SASportingPro', 'location': 'United States', 'url': None, 'description': 'Get the best deals on sporting goods when you shop the largest online selection.\n#ebay #sport #sports', 'translator_type': 'none', 'protected': False, 'verified': False, 'followers_count': 61, 'friends_count': 480, 'listed_count': 2, 'favourites_count': 0, 'statuses_count': 24966, 'created_at': 'Thu Dec 24 15:14:39 +0000 2020', 'utc_offset': None, 'time_zone': None, 'geo_enabled': False, 'lang': None, 'contributors_enabled': False, 'is_translator': False, 'profile_background_color': 'F5F8FA', 'profile_background_image_url': '', 'profile_background_image_url_https': '', 'profile_background_tile': False, 'profile_link_color': '1DA1F2', 'profile_sidebar_border_color': 'C0DEED', 'profile_sidebar_fill_color': 'DDEEF6', 'profile_text_color': '333333', 'profile_use_background_image': True, 'profile_image_url': 'http://pbs.twimg.com/profile_images/1342128075815841792/MQNg_ZY2_normal.jpg', 'profile_image_url_https': 'https://pbs.twimg.com/profile_images/1342128075815841792/MQNg_ZY2_normal.jpg', 'profile_banner_url': 'https://pbs.twimg.com/profile_banners/1342126517770280962/1608824766', 'default_profile': True, 'default_profile_image': False, 'following': None, 'follow_request_sent': None, 'notifications': None, 'withheld_in_countries': []}, 'geo': None, 'coordinates': None, 'place': None, 'contributors': None, 'is_quote_status': False, 'quote_count': 0, 'reply_count': 0, 'retweet_count': 0, 'favorite_count': 0, 'entities': {'hashtags': [{'text': 'ebay', 'indices': [78, 83]}, {'text': 'sport', 'indices': [84, 90]}, {'text': 'sports', 'indices': [91, 98]}], 'urls': [{'url': 'https://t.co/pcToFcKW2G', 'expanded_url': 'https://www.ebay.com/itm/144002712330?mkrid=711-53200-19255-0&siteid=0&mkcid=1&campid=5338548834&toolid=10044&customid=&mkevt=1', 'display_url': 'ebay.com/itm/1440027123…', 'indices': [99, 122]}], 'user_mentions': [], 'symbols': []}, 'favorited': False, 'retweeted': False, 'possibly_sensitive': False, 'filter_level': 'low', 'lang': 'en', 'timestamp_ms': '1620891734977', '_id': '1392746998038679552', 'region': 'Melbourne'}}
{'1392746999473049604': {'created_at': 'Thu May 13 07:42:15 +0000 2021', 'id': 1392746999473049604, 'id_str': '1392746999473049604', 'text': '@SkyNewsAust @Birmo Higher taxes for the rich!!! Oh no... millionaires won’t be able to build a third tennis court… https://t.co/d6yIMuaOKO', 'display_text_range': [20, 140], 'source': '<a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>', 'truncated': True, 'in_reply_to_status_id': 1392695743220117509, 'in_reply_to_status_id_str': '1392695743220117509', 'in_reply_to_user_id': 16834659, 'in_reply_to_user_id_str': '16834659', 'in_reply_to_screen_name': 'SkyNewsAust', 'user': {'id': 1297520697095331840, 'id_str': '1297520697095331840', 'name': 'riley', 'screen_name': 'riley_mizis', 'location': 'Melbourne, Victoria', 'url': None, 'description': None, 'translator_type': 'none', 'protected': False, 'verified': False, 'followers_count': 11, 'friends_count': 140, 'listed_count': 0, 'favourites_count': 1829, 'statuses_count': 499, 'created_at': 'Sun Aug 23 13:07:07 +0000 2020', 'utc_offset': None, 'time_zone': None, 'geo_enabled': False, 'lang': None, 'contributors_enabled': False, 'is_translator': False, 'profile_background_color': 'F5F8FA', 'profile_background_image_url': '', 'profile_background_image_url_https': '', 'profile_background_tile': False, 'profile_link_color': '1DA1F2', 'profile_sidebar_border_color': 'C0DEED', 'profile_sidebar_fill_color': 'DDEEF6', 'profile_text_color': '333333', 'profile_use_background_image': True, 'profile_image_url': 'http://abs.twimg.com/sticky/default_profile_images/default_profile_normal.png', 'profile_image_url_https': 'https://abs.twimg.com/sticky/default_profile_images/default_profile_normal.png', 'default_profile': True, 'default_profile_image': False, 'following': None, 'follow_request_sent': None, 'notifications': None, 'withheld_in_countries': []}, 'geo': None, 'coordinates': None, 'place': None, 'contributors': None, 'is_quote_status': False, 'extended_tweet': {'full_text': '@SkyNewsAust @Birmo Higher taxes for the rich!!! Oh no... millionaires won’t be able to build a third tennis court in their Toorak mansion, maybe they’ll have to fire their butlers butler. #MurdochGutterMedia', 'display_text_range': [20, 208], 'entities': {'hashtags': [{'text': 'MurdochGutterMedia', 'indices': [189, 208]}], 'urls': [], 'user_mentions': [{'screen_name': 'SkyNewsAust', 'name': 'Sky News Australia', 'id': 16834659, 'id_str': '16834659', 'indices': [0, 12]}, {'screen_name': 'Birmo', 'name': 'Simon Birmingham', 'id': 22196776, 'id_str': '22196776', 'indices': [13, 19]}], 'symbols': []}}, 'quote_count': 0, 'reply_count': 0, 'retweet_count': 0, 'favorite_count': 0, 'entities': {'hashtags': [], 'urls': [{'url': 'https://t.co/d6yIMuaOKO', 'expanded_url': 'https://twitter.com/i/web/status/1392746999473049604', 'display_url': 'twitter.com/i/web/status/1…', 'indices': [116, 139]}], 'user_mentions': [{'screen_name': 'SkyNewsAust', 'name': 'Sky News Australia', 'id': 16834659, 'id_str': '16834659', 'indices': [0, 12]}, {'screen_name': 'Birmo', 'name': 'Simon Birmingham', 'id': 22196776, 'id_str': '22196776', 'indices': [13, 19]}], 'symbols': []}, 'favorited': False, 'retweeted': False, 'filter_level': 'low', 'lang': 'en', 'timestamp_ms': '1620891735319', '_id': '1392746999473049604', 'region': 'Melbourne'}}
{'1392747111565901824': {'created_at': 'Thu May 13 07:42:42 +0000 2021', 'id': 1392747111565901824, 'id_str': '1392747111565901824', 'text': 'New Episode! Did Dersley deem drunken debauchery dubious? Ryan and Pete sheepishly face the authorities to answer f… https://t.co/C8sGT2tVyw', 'display_text_range': [0, 140], 'source': '<a href="https://mobile.twitter.com" rel="nofollow">Twitter Web App</a>', 'truncated': True, 'in_reply_to_status_id': None, 'in_reply_to_status_id_str': None, 'in_reply_to_user_id': None, 'in_reply_to_user_id_str': None, 'in_reply_to_screen_name': None, 'user': {'id': 1325458418774183937, 'id_str': '1325458418774183937', 'name': 'History Happened Everywhere', 'screen_name': 'HHEPodcast', 'location': 'United Kingdom', 'url': 'https://www.hhepodcast.com/podcast', 'description': 'Join Ryan and Pete as they take a random place, time and topic and look to prove that History Happened Everywhere!', 'translator_type': 'none', 'protected': False, 'verified': False, 'followers_count': 23, 'friends_count': 30, 'listed_count': 0, 'favourites_count': 79, 'statuses_count': 222, 'created_at': 'Sun Nov 08 15:22:31 +0000 2020', 'utc_offset': None, 'time_zone': None, 'geo_enabled': False, 'lang': None, 'contributors_enabled': False, 'is_translator': False, 'profile_background_color': 'F5F8FA', 'profile_background_image_url': '', 'profile_background_image_url_https': '', 'profile_background_tile': False, 'profile_link_color': '1DA1F2', 'profile_sidebar_border_color': 'C0DEED', 'profile_sidebar_fill_color': 'DDEEF6', 'profile_text_color': '333333', 'profile_use_background_image': True, 'profile_image_url': 'http://pbs.twimg.com/profile_images/1325458779249446912/E22nfgx9_normal.jpg', 'profile_image_url_https': 'https://pbs.twimg.com/profile_images/1325458779249446912/E22nfgx9_normal.jpg', 'profile_banner_url': 'https://pbs.twimg.com/profile_banners/1325458418774183937/1604849672', 'default_profile': True, 'default_profile_image': False, 'following': None, 'follow_request_sent': None, 'notifications': None, 'withheld_in_countries': []}, 'geo': None, 'coordinates': None, 'place': None, 'contributors': None, 'is_quote_status': False, 'extended_tweet': {'full_text': 'New Episode! Did Dersley deem drunken debauchery dubious? Ryan and Pete sheepishly face the authorities to answer for their fashion shenanigans on their visit to Brazil in the 1950s. \nhttps://t.co/SQONeUFnQj\n#History #podcast #cocktail #brazil #soccer #ipanema #bikini #fashion https://t.co/17KLylUxvD', 'display_text_range': [0, 277], 'entities': {'hashtags': [{'text': 'History', 'indices': [208, 216]}, {'text': 'podcast', 'indices': [217, 225]}, {'text': 'cocktail', 'indices': [226, 235]}, {'text': 'brazil', 'indices': [236, 243]}, {'text': 'soccer', 'indices': [244, 251]}, {'text': 'ipanema', 'indices': [252, 260]}, {'text': 'bikini', 'indices': [261, 268]}, {'text': 'fashion', 'indices': [269, 277]}], 'urls': [{'url': 'https://t.co/SQONeUFnQj', 'expanded_url': 'http://www.hhepodcast.com', 'display_url': 'hhepodcast.com', 'indices': [184, 207]}], 'user_mentions': [], 'symbols': [], 'media': [{'id': 1392747095191347201, 'id_str': '1392747095191347201', 'indices': [278, 301], 'description': 'History Happened Everywhere: The Verdict. Brazil from 1950 to 1960 about Fashion. ', 'media_url': 'http://pbs.twimg.com/media/E1QIGp7WYAEaz50.jpg', 'media_url_https': 'https://pbs.twimg.com/media/E1QIGp7WYAEaz50.jpg', 'url': 'https://t.co/17KLylUxvD', 'display_url': 'pic.twitter.com/17KLylUxvD', 'expanded_url': 'https://twitter.com/HHEPodcast/status/1392747111565901824/photo/1', 'type': 'photo', 'sizes': {'thumb': {'w': 150, 'h': 150, 'resize': 'crop'}, 'large': {'w': 1600, 'h': 900, 'resize': 'fit'}, 'medium': {'w': 1200, 'h': 675, 'resize': 'fit'}, 'small': {'w': 680, 'h': 383, 'resize': 'fit'}}}]}, 'extended_entities': {'media': [{'id': 1392747095191347201, 'id_str': '1392747095191347201', 'indices': [278, 301], 'description': 'History Happened Everywhere: The Verdict. Brazil from 1950 to 1960 about Fashion. ', 'media_url': 'http://pbs.twimg.com/media/E1QIGp7WYAEaz50.jpg', 'media_url_https': 'https://pbs.twimg.com/media/E1QIGp7WYAEaz50.jpg', 'url': 'https://t.co/17KLylUxvD', 'display_url': 'pic.twitter.com/17KLylUxvD', 'expanded_url': 'https://twitter.com/HHEPodcast/status/1392747111565901824/photo/1', 'type': 'photo', 'sizes': {'thumb': {'w': 150, 'h': 150, 'resize': 'crop'}, 'large': {'w': 1600, 'h': 900, 'resize': 'fit'}, 'medium': {'w': 1200, 'h': 675, 'resize': 'fit'}, 'small': {'w': 680, 'h': 383, 'resize': 'fit'}}}]}}, 'quote_count': 0, 'reply_count': 0, 'retweet_count': 0, 'favorite_count': 0, 'entities': {'hashtags': [], 'urls': [{'url': 'https://t.co/C8sGT2tVyw', 'expanded_url': 'https://twitter.com/i/web/status/1392747111565901824', 'display_url': 'twitter.com/i/web/status/1…', 'indices': [117, 140]}], 'user_mentions': [], 'symbols': []}, 'favorited': False, 'retweeted': False, 'possibly_sensitive': False, 'filter_level': 'low', 'lang': 'en', 'timestamp_ms': '1620891762044', '_id': '1392747111565901824', 'region': 'Melbourne'}}
{'1392747140963700742': {'created_at': 'Thu May 13 07:42:49 +0000 2021', 'id': 1392747140963700742, 'id_str': '1392747140963700742', 'text': '@7AFL Bolton plays soccer?', 'display_text_range': [6, 26], 'source': '<a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>', 'truncated': False, 'in_reply_to_status_id': 1392746247442747394, 'in_reply_to_status_id_str': '1392746247442747394', 'in_reply_to_user_id': 1250120150, 'in_reply_to_user_id_str': '1250120150', 'in_reply_to_screen_name': '7AFL', 'user': {'id': 1273206568595492864, 'id_str': '1273206568595492864', 'name': 'michaelmoro26', 'screen_name': 'michaelmoro26', 'location': 'Melbourne, Victoria', 'url': None, 'description': 'He/him, Essendon, Vuck, AC Milan and the odd uninsightful political tweet! Living on the unceded lands of the Wurundjeri people of the Kulin nation. ALP member', 'translator_type': 'none', 'protected': False, 'verified': False, 'followers_count': 200, 'friends_count': 643, 'listed_count': 0, 'favourites_count': 9809, 'statuses_count': 3165, 'created_at': 'Wed Jun 17 10:51:26 +0000 2020', 'utc_offset': None, 'time_zone': None, 'geo_enabled': False, 'lang': None, 'contributors_enabled': False, 'is_translator': False, 'profile_background_color': 'F5F8FA', 'profile_background_image_url': '', 'profile_background_image_url_https': '', 'profile_background_tile': False, 'profile_link_color': '1DA1F2', 'profile_sidebar_border_color': 'C0DEED', 'profile_sidebar_fill_color': 'DDEEF6', 'profile_text_color': '333333', 'profile_use_background_image': True, 'profile_image_url': 'http://pbs.twimg.com/profile_images/1276322615980814337/s2zf3nAE_normal.jpg', 'profile_image_url_https': 'https://pbs.twimg.com/profile_images/1276322615980814337/s2zf3nAE_normal.jpg', 'profile_banner_url': 'https://pbs.twimg.com/profile_banners/1273206568595492864/1595914174', 'default_profile': True, 'default_profile_image': False, 'following': None, 'follow_request_sent': None, 'notifications': None, 'withheld_in_countries': []}, 'geo': None, 'coordinates': None, 'place': None, 'contributors': None, 'is_quote_status': False, 'quote_count': 0, 'reply_count': 0, 'retweet_count': 0, 'favorite_count': 0, 'entities': {'hashtags': [], 'urls': [], 'user_mentions': [{'screen_name': '7AFL', 'name': '7AFL', 'id': 1250120150, 'id_str': '1250120150', 'indices': [0, 5]}], 'symbols': []}, 'favorited': False, 'retweeted': False, 'filter_level': 'low', 'lang': 'en', 'timestamp_ms': '1620891769053', '_id': '1392747140963700742', 'region': 'Melbourne'}}
{'1392747145833316352': {'created_at': 'Thu May 13 07:42:50 +0000 2021', 'id': 1392747145833316352, 'id_str': '1392747145833316352', 'text': '@AFLFantasy let’s get this changed thanks afl fantasy https://t.co/WGMESs0Y0x', 'display_text_range': [12, 53], 'source': '<a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>', 'truncated': False, 'in_reply_to_status_id': 1392747063310393344, 'in_reply_to_status_id_str': '1392747063310393344', 'in_reply_to_user_id': 2893592137, 'in_reply_to_user_id_str': '2893592137', 'in_reply_to_screen_name': 'scottllewellyn7', 'user': {'id': 2893592137, 'id_str': '2893592137', 'name': 'scott', 'screen_name': 'scottllewellyn7', 'location': None, 'url': None, 'description': 'adelaide | uni student 👨\u200d🎓', 'translator_type': 'none', 'protected': False, 'verified': False, 'followers_count': 53, 'friends_count': 61, 'listed_count': 2, 'favourites_count': 13770, 'statuses_count': 4276, 'created_at': 'Sat Nov 08 08:26:11 +0000 2014', 'utc_offset': None, 'time_zone': None, 'geo_enabled': False, 'lang': None, 'contributors_enabled': False, 'is_translator': False, 'profile_background_color': 'C0DEED', 'profile_background_image_url': 'http://abs.twimg.com/images/themes/theme1/bg.png', 'profile_background_image_url_https': 'https://abs.twimg.com/images/themes/theme1/bg.png', 'profile_background_tile': False, 'profile_link_color': '1DA1F2', 'profile_sidebar_border_color': 'C0DEED', 'profile_sidebar_fill_color': 'DDEEF6', 'profile_text_color': '333333', 'profile_use_background_image': True, 'profile_image_url': 'http://pbs.twimg.com/profile_images/1227034820242313216/pARGkGJj_normal.jpg', 'profile_image_url_https': 'https://pbs.twimg.com/profile_images/1227034820242313216/pARGkGJj_normal.jpg', 'profile_banner_url': 'https://pbs.twimg.com/profile_banners/2893592137/1566742487', 'default_profile': True, 'default_profile_image': False, 'following': None, 'follow_request_sent': None, 'notifications': None, 'withheld_in_countries': []}, 'geo': None, 'coordinates': None, 'place': None, 'contributors': None, 'is_quote_status': False, 'quote_count': 0, 'reply_count': 0, 'retweet_count': 0, 'favorite_count': 0, 'entities': {'hashtags': [], 'urls': [], 'user_mentions': [{'screen_name': 'AFLFantasy', 'name': 'AFL Fantasy', 'id': 24787181, 'id_str': '24787181', 'indices': [0, 11]}], 'symbols': [], 'media': [{'id': 1392747139843821569, 'id_str': '1392747139843821569', 'indices': [54, 77], 'media_url': 'http://pbs.twimg.com/media/E1QIJQRVEAEUro7.jpg', 'media_url_https': 'https://pbs.twimg.com/media/E1QIJQRVEAEUro7.jpg', 'url': 'https://t.co/WGMESs0Y0x', 'display_url': 'pic.twitter.com/WGMESs0Y0x', 'expanded_url': 'https://twitter.com/scottllewellyn7/status/1392747145833316352/photo/1', 'type': 'photo', 'sizes': {'thumb': {'w': 150, 'h': 150, 'resize': 'crop'}, 'small': {'w': 314, 'h': 680, 'resize': 'fit'}, 'large': {'w': 828, 'h': 1792, 'resize': 'fit'}, 'medium': {'w': 554, 'h': 1200, 'resize': 'fit'}}}]}, 'extended_entities': {'media': [{'id': 1392747139843821569, 'id_str': '1392747139843821569', 'indices': [54, 77], 'media_url': 'http://pbs.twimg.com/media/E1QIJQRVEAEUro7.jpg', 'media_url_https': 'https://pbs.twimg.com/media/E1QIJQRVEAEUro7.jpg', 'url': 'https://t.co/WGMESs0Y0x', 'display_url': 'pic.twitter.com/WGMESs0Y0x', 'expanded_url': 'https://twitter.com/scottllewellyn7/status/1392747145833316352/photo/1', 'type': 'photo', 'sizes': {'thumb': {'w': 150, 'h': 150, 'resize': 'crop'}, 'small': {'w': 314, 'h': 680, 'resize': 'fit'}, 'large': {'w': 828, 'h': 1792, 'resize': 'fit'}, 'medium': {'w': 554, 'h': 1200, 'resize': 'fit'}}}]}, 'favorited': False, 'retweeted': False, 'possibly_sensitive': False, 'filter_level': 'low', 'lang': 'en', 'timestamp_ms': '1620891770214', '_id': '1392747145833316352', 'region': 'Melbourne'}}
{'1392747153261432832': {'created_at': 'Thu May 13 07:42:51 +0000 2021', 'id': 1392747153261432832, 'id_str': '1392747153261432832', 'text': 'Another opportunity for Ss to engage in a Table Tennis context. @PEScholar you have some fantastic initiatives- Tha… https://t.co/hK2dHkdqnV', 'display_text_range': [0, 140], 'source': '<a href="https://mobile.twitter.com" rel="nofollow">Twitter Web App</a>', 'truncated': True, 'in_reply_to_status_id': None, 'in_reply_to_status_id_str': None, 'in_reply_to_user_id': None, 'in_reply_to_user_id_str': None, 'in_reply_to_screen_name': None, 'user': {'id': 461803758, 'id_str': '461803758', 'name': 'Richard Petherick', 'screen_name': 'The_Peth28', 'location': 'Singapore', 'url': None, 'description': '🇳🇿 Olympian. Now a passionate Physical Educator. PE and Health Teacher in 🇸🇬', 'translator_type': 'none', 'protected': False, 'verified': False, 'followers_count': 856, 'friends_count': 364, 'listed_count': 13, 'favourites_count': 370, 'statuses_count': 1187, 'created_at': 'Thu Jan 12 06:24:59 +0000 2012', 'utc_offset': None, 'time_zone': None, 'geo_enabled': True, 'lang': None, 'contributors_enabled': False, 'is_translator': False, 'profile_background_color': '131516', 'profile_background_image_url': 'http://abs.twimg.com/images/themes/theme14/bg.gif', 'profile_background_image_url_https': 'https://abs.twimg.com/images/themes/theme14/bg.gif', 'profile_background_tile': False, 'profile_link_color': '009999', 'profile_sidebar_border_color': 'EEEEEE', 'profile_sidebar_fill_color': 'EFEFEF', 'profile_text_color': '333333', 'profile_use_background_image': True, 'profile_image_url': 'http://pbs.twimg.com/profile_images/1390642844675678212/lLizw5Wj_normal.jpg', 'profile_image_url_https': 'https://pbs.twimg.com/profile_images/1390642844675678212/lLizw5Wj_normal.jpg', 'profile_banner_url': 'https://pbs.twimg.com/profile_banners/461803758/1620863153', 'default_profile': False, 'default_profile_image': False, 'following': None, 'follow_request_sent': None, 'notifications': None, 'withheld_in_countries': []}, 'geo': None, 'coordinates': None, 'place': None, 'contributors': None, 'is_quote_status': False, 'extended_tweet': {'full_text': 'Another opportunity for Ss to engage in a Table Tennis context. @PEScholar you have some fantastic initiatives- Thank-you. I have added BINGO to this one😀. @canva of course. https://t.co/Y97BUVnsqW', 'display_text_range': [0, 173], 'entities': {'hashtags': [], 'urls': [], 'user_mentions': [{'screen_name': 'PEScholar', 'name': 'PE Scholar', 'id': 109079118, 'id_str': '109079118', 'indices': [64, 74]}, {'screen_name': 'canva', 'name': 'Canva', 'id': 36542528, 'id_str': '36542528', 'indices': [156, 162]}], 'symbols': [], 'media': [{'id': 1392746653463965699, 'id_str': '1392746653463965699', 'indices': [174, 197], 'media_url': 'http://pbs.twimg.com/media/E1QHs8XVcAMGTq1.jpg', 'media_url_https': 'https://pbs.twimg.com/media/E1QHs8XVcAMGTq1.jpg', 'url': 'https://t.co/Y97BUVnsqW', 'display_url': 'pic.twitter.com/Y97BUVnsqW', 'expanded_url': 'https://twitter.com/The_Peth28/status/1392747153261432832/photo/1', 'type': 'photo', 'sizes': {'thumb': {'w': 150, 'h': 150, 'resize': 'crop'}, 'small': {'w': 481, 'h': 680, 'resize': 'fit'}, 'medium': {'w': 848, 'h': 1200, 'resize': 'fit'}, 'large': {'w': 1240, 'h': 1754, 'resize': 'fit'}}}]}, 'extended_entities': {'media': [{'id': 1392746653463965699, 'id_str': '1392746653463965699', 'indices': [174, 197], 'media_url': 'http://pbs.twimg.com/media/E1QHs8XVcAMGTq1.jpg', 'media_url_https': 'https://pbs.twimg.com/media/E1QHs8XVcAMGTq1.jpg', 'url': 'https://t.co/Y97BUVnsqW', 'display_url': 'pic.twitter.com/Y97BUVnsqW', 'expanded_url': 'https://twitter.com/The_Peth28/status/1392747153261432832/photo/1', 'type': 'photo', 'sizes': {'thumb': {'w': 150, 'h': 150, 'resize': 'crop'}, 'small': {'w': 481, 'h': 680, 'resize': 'fit'}, 'medium': {'w': 848, 'h': 1200, 'resize': 'fit'}, 'large': {'w': 1240, 'h': 1754, 'resize': 'fit'}}}]}}, 'quote_count': 0, 'reply_count': 0, 'retweet_count': 0, 'favorite_count': 0, 'entities': {'hashtags': [], 'urls': [{'url': 'https://t.co/hK2dHkdqnV', 'expanded_url': 'https://twitter.com/i/web/status/1392747153261432832', 'display_url': 'twitter.com/i/web/status/1…', 'indices': [117, 140]}], 'user_mentions': [{'screen_name': 'PEScholar', 'name': 'PE Scholar', 'id': 109079118, 'id_str': '109079118', 'indices': [64, 74]}], 'symbols': []}, 'favorited': False, 'retweeted': False, 'possibly_sensitive': False, 'filter_level': 'low', 'lang': 'en', 'timestamp_ms': '1620891771985', '_id': '1392747153261432832', 'region': 'Melbourne'}}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment