Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "/home/dj/Downloads/piebot/PinkiePyBot/bot.py", line 199, in call
- try: func(phenny, input)
- File "/home/dj/Downloads/piebot/PinkiePyBot/modules/head.py", line 143, in snarfuri
- title = twittertweet(uri, phenny)
- File "/home/dj/Downloads/piebot/PinkiePyBot/modules/head.py", line 543, in twittertweet
- tweet = twitter.tweettext(phenny, uri)
- File "/home/dj/Downloads/piebot/PinkiePyBot/modules/twitter.py", line 34, in tweettext
- reqget = ast.literal_eval(reqgetstr)
- File "/usr/lib/python3.4/ast.py", line 46, in literal_eval
- node_or_string = parse(node_or_string, mode='eval')
- File "/usr/lib/python3.4/ast.py", line 35, in parse
- return compile(source, filename, mode, PyCF_ONLY_AST)
- File "<unknown>", line 1
- [Status(favorite_count=2, user=User(screen_name='Hugoreloaded', favourites_count=82, profile_image_url_https='https://pbs.twimg.com/profile_images/578663517257003008/3wTlI-sw_normal.png', listed_count=35, lang='en', id_str='24031859', _api=<tweepy.api.API object at 0xb622c48c>, verified=False, following=True, friends_count=451, default_profile=False, has_extended_profile=False, profile_background_image_url_https='https://abs.twimg.com/images/themes/theme14/bg.gif', profile_background_image_url='http://abs.twimg.com/images/themes/theme14/bg.gif', utc_offset=-14400, profile_text_color='333333', id=24031859, name='Ask Hugo', notifications=False, profile_link_color='009999', profile_sidebar_fill_color='EFEFEF', is_translator=False, profile_banner_url='https://pbs.twimg.com/profile_banners/24031859/1365482868', time_zone='Eastern Time (US & Canada)', _json={'follow_request_sent': False, 'following': True, 'screen_name': 'Hugoreloaded', 'default_profile_image': False, 'name': 'Ask Hugo', 'profile_image_url_https': 'https://pbs.twimg.com/profile_images/578663517257003008/3wTlI-sw_normal.png', 'listed_count': 35, 'lang': 'en', 'id_str': '24031859', 'profile_link_color': '009999', 'favourites_count': 82, 'verified': False, 'url': 'http://t.co/JNWxw8iNZC', 'has_extended_profile': False, 'profile_background_image_url_https': 'https://abs.twimg.com/images/themes/theme14/bg.gif', 'profile_background_image_url': 'http://abs.twimg.com/images/themes/theme14/bg.gif', 'is_translation_enabled': False, 'profile_text_color': '333333', 'profile_sidebar_fill_color': 'EFEFEF', 'notifications': False, 'description': 'Hugo from The Bible Reloaded, an atheist show that reads the Bible and does other fun Godless shit', 'id': 24031859, 'is_translator': False, 'entities': {'description': {'urls': []}, 'url': {'urls': [{'indices': [0, 22], 'display_url': 'youtube.com/user/TheBibleR…', 'url': 'http://t.co/JNWxw8iNZC', 'expanded_url': 'http://www.youtube.com/user/TheBibleReloaded'}]}}, 'time_zone': 'Eastern Time (US & Canada)', 'profile_banner_url': 'https://pbs.twimg.com/profile_banners/24031859/1365482868', 'location': '', 'profile_background_tile': True, 'friends_count': 451, 'created_at': 'Thu Mar 12 20:41:51 +0000 2009', 'protected': False, 'profile_use_background_image': True, 'contributors_enabled': False, 'statuses_count': 3613, 'geo_enabled': False, 'profile_image_url': 'http://pbs.twimg.com/profile_images/578663517257003008/3wTlI-sw_normal.png', 'profile_sidebar_border_color': 'EEEEEE', 'profile_background_color': '131516', 'utc_offset': -14400, 'followers_count': 5724, 'default_profile': False}, profile_sidebar_border_color='EEEEEE', location='', profile_background_tile=True, description='Hugo from The Bible Reloaded, an atheist show that reads the Bible and does other fun Godless shit', is_translation_enabled=False, entities={'description': {'urls': []}, 'url': {'urls': [{'indices': [0, 22], 'display_url': 'youtube.com/user/TheBibleR…', 'url': 'http://t.co/JNWxw8iNZC', 'expanded_url': 'http://www.youtube.com/user/TheBibleReloaded'}]}}, protected=False, followers_count=5724, profile_use_background_image=True, contributors_enabled=False, statuses_count=3613, geo_enabled=False, follow_request_sent=False, profile_image_url='http://pbs.twimg.com/profile_images/578663517257003008/3wTlI-sw_normal.png', profile_background_color='131516', created_at=datetime.datetime(2009, 3, 12, 20, 41, 51), default_profile_image=False, url='http://t.co/JNWxw8iNZC'), text='This cat looks like it would be very dry to eat, needs some A1 sauce for sure #felineaids https://t.co/gnFam5VjWv', id=629738492780806144, lang='en', favorited=False, id_str='629738492780806144', _api=<tweepy.api.API object at 0xb622c48c>, coordinates=None, geo=None, truncated=False, quoted_status_id=629735071583440896, in_reply_to_screen_name=None, possibly_sensitive=False, in_reply_to_status_id_str=None, author=User(screen_name='Hugoreloaded', favourites_count=82, profile_image_url_https='https://pbs.twimg.com/profile_images/578663517257003008/3wTlI-sw_normal.png', listed_count=35, lang='en', id_str='24031859', _api=<tweepy.api.API object at 0xb622c48c>, verified=False, following=True, friends_count=451, default_profile=False, has_extended_profile=False, profile_background_image_url_https='https://abs.twimg.com/images/themes/theme14/bg.gif', profile_background_image_url='http://abs.twimg.com/images/themes/theme14/bg.gif', utc_offset=-14400, profile_text_color='333333', id=24031859, name='Ask Hugo', notifications=False, profile_link_color='009999', profile_sidebar_fill_color='EFEFEF', is_translator=False, profile_banner_url='https://pbs.twimg.com/profile_banners/24031859/1365482868', time_zone='Eastern Time (US & Canada)', _json={'follow_request_sent': False, 'following': True, 'screen_name': 'Hugoreloaded', 'default_profile_image': False, 'name': 'Ask Hugo', 'profile_image_url_https': 'https://pbs.twimg.com/profile_images/578663517257003008/3wTlI-sw_normal.png', 'listed_count': 35, 'lang': 'en', 'id_str': '24031859', 'profile_link_color': '009999', 'favourites_count': 82, 'verified': False, 'url': 'http://t.co/JNWxw8iNZC', 'has_extended_profile': False, 'profile_background_image_url_https': 'https://abs.twimg.com/images/themes/theme14/bg.gif', 'profile_background_image_url': 'http://abs.twimg.com/images/themes/theme14/bg.gif', 'is_translation_enabled': False, 'profile_text_color': '333333', 'profile_sidebar_fill_color': 'EFEFEF', 'notifications': False, 'description': 'Hugo from The Bible Reloaded, an atheist show that reads the Bible and does other fun Godless shit', 'id': 24031859, 'is_translator': False, 'entities': {'description': {'urls': []}, 'url': {'urls': [{'indices': [0, 22], 'display_url': 'youtube.com/user/TheBibleR…', 'url': 'http://t.co/JNWxw8iNZC', 'expanded_url': 'http://www.youtube.com/user/TheBibleReloaded'}]}}, 'time_zone': 'Eastern Time (US & Canada)', 'profile_banner_url': 'https://pbs.twimg.com/profile_banners/24031859/1365482868', 'location': '', 'profile_background_tile': True, 'friends_count': 451, 'created_at': 'Thu Mar 12 20:41:51 +0000 2009', 'protected': False, 'profile_use_background_image': True, 'contributors_enabled': False, 'statuses_count': 3613, 'geo_enabled': False, 'profile_image_url': 'http://pbs.twimg.com/profile_images/578663517257003008/3wTlI-sw_normal.png', 'profile_sidebar_border_color': 'EEEEEE', 'profile_background_color': '131516', 'utc_offset': -14400, 'followers_count': 5724, 'default_profile': False}, profile_sidebar_border_color='EEEEEE', location='', profile_background_tile=True, description='Hugo from The Bible Reloaded, an atheist show that reads the Bible and does other fun Godless shit', is_translation_enabled=False, entities={'description': {'urls': []}, 'url': {'urls': [{'indices': [0, 22], 'display_url': 'youtube.com/user/TheBibleR…', 'url': 'http://t.co/JNWxw8iNZC', 'expanded_url': 'http://www.youtube.com/user/TheBibleReloaded'}]}}, protected=False, followers_count=5724, profile_use_background_image=True, contributors_enabled=False, statuses_count=3613, geo_enabled=False, follow_request_sent=False, profile_image_url='http://pbs.twimg.com/profile_images/578663517257003008/3wTlI-sw_normal.png', profile_background_color='131516', created_at=datetime.datetime(2009, 3, 12, 20, 41, 51), default_profile_image=False, url='http://t.co/JNWxw8iNZC'), retweet_count=1, source='Twitter for Android', quoted_status={'favorite_count': 0, 'user': {'follow_request_sent': False, 'following': False, 'screen_name': 'fallenangel6661', 'default_profile_image': False, 'name': 'Keira Loves Louis xx', 'profile_image_url_https': 'https://pbs.twimg.com/profile_images/612102193450217472/tjAMvaHd_normal.jpg', 'listed_count': 16, 'lang': 'en', 'id_str': '113107849', 'profile_link_color': '440C5F', 'favourites_count': 5772, 'verified': False, 'url': 'http://t.co/OdxkejGfd8', 'has_extended_profile': False, 'profile_background_image_url_https': 'https://abs.twimg.com/images/themes/theme9/bg.gif', 'profile_background_image_url': 'http://abs.twimg.com/images/themes/theme9/bg.gif', 'is_translation_enabled': False, 'profile_text_color': '000000', 'profile_sidebar_fill_color': '000000', 'notifications': False, 'description': "keira. 20. a7x addict. 8+ year loyal deathbat. metal af but also like 1D idk it's confusing?", 'id': 113107849, 'is_translator': False, 'entities': {'description': {'urls': []}, 'url': {'urls': [{'indices': [0, 22], 'display_url': 'slendyisbae.tumblr.com', 'url': 'http://t.co/OdxkejGfd8', 'expanded_url': 'http://slendyisbae.tumblr.com'}]}}, 'time_zone': 'Central Time (US & Canada)', 'profile_banner_url': 'https://pbs.twimg.com/profile_banners/113107849/1437121861', 'location': 'New Jersey, USA', 'profile_background_tile': False, 'friends_count': 1687, 'created_at': 'Wed Feb 10 18:43:24 +0000 2010', 'protected': False, 'profile_use_background_image': False, 'contributors_enabled': False, 'statuses_count': 53540, 'geo_enabled': True, 'profile_image_url': 'http://pbs.twimg.com/profile_images/612102193450217472/tjAMvaHd_normal.jpg', 'profile_sidebar_border_color': '000000', 'profile_background_color': '000000', 'utc_offset': -18000, 'followers_count': 1083, 'default_profile': False}, 'extended_entities': {'media': [{'indices': [87, 109], 'type': 'photo', 'url': 'http://t.co/E0QyHo1hlq', 'id': 629735040876941312, 'media_url_https': 'https://pbs.twimg.com/media/CL1EruYWEAAheyZ.jpg', 'display_url': 'pic.twitter.com/E0QyHo1hlq', 'sizes': {'medium': {'h': 800, 'w': 600, 'resize': 'fit'}, 'small': {'h': 453, 'w': 340, 'resize': 'fit'}, 'thumb': {'h': 150, 'w': 150, 'resize': 'crop'}, 'large': {'h': 960, 'w': 720, 'resize': 'fit'}}, 'media_url': 'http://pbs.twimg.com/media/CL1EruYWEAAheyZ.jpg', 'id_str': '629735040876941312', 'expanded_url': 'http://twitter.com/fallenangel6661/status/629735071583440896/photo/1'}]}, 'text': '#FelineAIDS her name was Nina and she would have kicked ur asses if she heard ur jokes http://t.co/E0QyHo1hlq', 'lang': 'en', 'favorited': False, 'id_str': '629735071583440896', 'retweeted': False, 'geo': None, 'truncated': False, 'in_reply_to_screen_name': None, 'possibly_sensitive': False, 'in_reply_to_status_id_str': None, 'in_reply_to_user_id': None, 'retweet_count': 0, 'id': 629735071583440896, 'source': '<a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>', 'is_quote_status': False, 'place': None, 'in_reply_to_status_id': None, 'in_reply_to_user_id_str': None, 'coordinates': None, 'contributors': None, 'created_at': 'Fri Aug 07 19:25:15 +0000 2015'}, in_reply_to_user_id=None, _json={'favorite_count': 2, 'user': {'follow_request_sent': False, 'following': True, 'screen_name': 'Hugoreloaded', 'default_profile_image': False, 'name': 'Ask Hugo', 'profile_image_url_https': 'https://pbs.twimg.com/profile_images/578663517257003008/3wTlI-sw_normal.png', 'listed_count': 35, 'lang': 'en', 'id_str': '24031859', 'profile_link_color': '009999', 'favourites_count': 82, 'verified': False, 'url': 'http://t.co/JNWxw8iNZC', 'has_extended_profile': False, 'profile_background_image_url_https': 'https://abs.twimg.com/images/themes/theme14/bg.gif', 'profile_background_image_url': 'http://abs.twimg.com/images/themes/theme14/bg.gif', 'is_translation_enabled': False, 'profile_text_color': '333333', 'profile_sidebar_fill_color': 'EFEFEF', 'notifications': False, 'description': 'Hugo from The Bible Reloaded, an atheist show that reads the Bible and does other fun Godless shit', 'id': 24031859, 'is_translator': False, 'entities': {'description': {'urls': []}, 'url': {'urls': [{'indices': [0, 22], 'display_url': 'youtube.com/user/TheBibleR…', 'url': 'http://t.co/JNWxw8iNZC', 'expanded_url': 'http://www.youtube.com/user/TheBibleReloaded'}]}}, 'time_zone': 'Eastern Time (US & Canada)', 'profile_banner_url': 'https://pbs.twimg.com/profile_banners/24031859/1365482868', 'location': '', 'profile_background_tile': True, 'friends_count': 451, 'created_at': 'Thu Mar 12 20:41:51 +0000 2009', 'protected': False, 'profile_use_background_image': True, 'contributors_enabled': False, 'statuses_count': 3613, 'geo_enabled': False, 'profile_image_url': 'http://pbs.twimg.com/profile_images/578663517257003008/3wTlI-sw_normal.png', 'profile_sidebar_border_color': 'EEEEEE', 'profile_background_color': '131516', 'utc_offset': -14400, 'followers_count': 5724, 'default_profile': False}, 'text': 'This cat looks like it would be very dry to eat, needs some A1 sauce for sure #felineaids https://t.co/gnFam5VjWv', 'lang': 'en', 'favorited': False, 'id_str': '629738492780806144', 'retweeted': False, 'geo': None, 'truncated': False, 'quoted_status_id': 629735071583440896, 'in_reply_to_screen_name': None, 'possibly_sensitive': False, 'in_reply_to_status_id_str': None, 'in_reply_to_user_id': None, 'retweet_count': 1, 'id': 629738492780806144, 'quoted_status': {'favorite_count': 0, 'user': {'follow_request_sent': False, 'following': False, 'screen_name': 'fallenangel6661', 'default_profile_image': False, 'name': 'Keira Loves Louis xx', 'profile_image_url_https': 'https://pbs.twimg.com/profile_images/612102193450217472/tjAMvaHd_normal.jpg', 'listed_count': 16, 'lang': 'en', 'id_str': '113107849', 'profile_link_color': '440C5F', 'favourites_count': 5772, 'verified': False, 'url': 'http://t.co/OdxkejGfd8', 'has_extended_profile': False, 'profile_background_image_url_https': 'https://abs.twimg.com/images/themes/theme9/bg.gif', 'profile_background_image_url': 'http://abs.twimg.com/images/themes/theme9/bg.gif', 'is_translation_enabled': False, 'profile_text_color': '000000', 'profile_sidebar_fill_color': '000000', 'notifications': False, 'description': "keira. 20. a7x addict. 8+ year loyal deathbat. metal af but also like 1D idk it's confusing?", 'id': 113107849, 'is_translator': False, 'entities': {'description': {'urls': []}, 'url': {'urls': [{'indices': [0, 22], 'display_url': 'slendyisbae.tumblr.com', 'url': 'http://t.co/OdxkejGfd8', 'expanded_url': 'http://slendyisbae.tumblr.com'}]}}, 'time_zone': 'Central Time (US & Canada)', 'profile_banner_url': 'https://pbs.twimg.com/profile_banners/113107849/1437121861', 'location': 'New Jersey, USA', 'profile_background_tile': False, 'friends_count': 1687, 'created_at': 'Wed Feb 10 18:43:24 +0000 2010', 'protected': False, 'profile_use_background_image': False, 'contributors_enabled': False, 'statuses_count': 53540, 'geo_enabled': True, 'profile_image_url': 'http://pbs.twimg.com/profile_images/612102193450217472/tjAMvaHd_normal.jpg', 'profile_sidebar_border_color': '000000', 'profile_background_color': '000000', 'utc_offset': -18000, 'followers_count': 1083, 'default_profile': False}, 'extended_entities': {'media': [{'indices': [87, 109], 'type': 'photo', 'url': 'http://t.co/E0QyHo1hlq', 'id': 629735040876941312, 'media_url_https': 'https://pbs.twimg.com/media/CL1EruYWEAAheyZ.jpg', 'display_url': 'pic.twitter.com/E0QyHo1hlq', 'sizes': {'medium': {'h': 800, 'w': 600, 'resize': 'fit'}, 'small': {'h': 453, 'w': 340, 'resize': 'fit'}, 'thumb': {'h': 150, 'w': 150, 'resize': 'crop'}, 'large': {'h': 960, 'w': 720, 'resize': 'fit'}}, 'media_url': 'http://pbs.twimg.com/media/CL1EruYWEAAheyZ.jpg', 'id_str': '629735040876941312', 'expanded_url': 'http://twitter.com/fallenangel6661/status/629735071583440896/photo/1'}]}, 'text': '#FelineAIDS her name was Nina and she would have kicked ur asses if she heard ur jokes http://t.co/E0QyHo1hlq', 'lang': 'en', 'favorited': False, 'id_str': '629735071583440896', 'retweeted': False, 'geo': None, 'truncated': False, 'in_reply_to_screen_name': None, 'possibly_sensitive': False, 'in_reply_to_status_id_str': None, 'in_reply_to_user_id': None, 'retweet_count': 0, 'id': 629735071583440896, 'source': '<a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>', 'is_quote_status': False, 'place': None, 'in_reply_to_status_id': None, 'in_reply_to_user_id_str': None, 'coordinates': None, 'contributors': None, 'created_at': 'Fri Aug 07 19:25:15 +0000 2015'}, 'source': '<a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>', 'is_quote_status': True, 'place': None, 'in_reply_to_status_id': None, 'in_reply_to_user_id_str': None, 'coordinates': None, 'contributors': None, 'created_at': 'Fri Aug 07 19:38:51 +0000 2015', 'quoted_status_id_str': '629735071583440896'}, source_url='http://twitter.com/download/android', place=None, in_reply_to_status_id=None, is_quote_status=True, in_reply_to_user_id_str=None, retweeted=False, contributors=None, created_at=datetime.datetime(2015, 8, 7, 19, 38, 51), quoted_status_id_str='629735071583440896')]
- ^
- SyntaxError: invalid syntax
Advertisement
Add Comment
Please, Sign In to add comment