{"action":"closed","issue":{"url":"https://api.github.com/repos/instabot-py/instabot.py/issues/1506","repository_url":"https://api.github.com/repos/instabot-py/instabot.py","labels_url":"https://api.github.com/repos/instabot-py/instabot.py/issues/1506/labels{/name}","comments_url":"https://api.github.com/repos/instabot-py/instabot.py/issues/1506/comments","events_url":"https://api.github.com/repos/instabot-py/instabot.py/issues/1506/events","html_url":"https://github.com/instabot-py/instabot.py/issues/1506","id":352804822,"node_id":"MDU6SXNzdWUzNTI4MDQ4MjI=","number":1506,"title":"NameError: name 'bot' is not defined","user":{"login":"ianong113","id":42598618,"node_id":"MDQ6VXNlcjQyNTk4NjE4","avatar_url":"https://avatars2.githubusercontent.com/u/42598618?v=4","gravatar_id":"","url":"https://api.github.com/users/ianong113","html_url":"https://github.com/ianong113","followers_url":"https://api.github.com/users/ianong113/followers","following_url":"https://api.github.com/users/ianong113/following{/other_user}","gists_url":"https://api.github.com/users/ianong113/gists{/gist_id}","starred_url":"https://api.github.com/users/ianong113/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianong113/subscriptions","organizations_url":"https://api.github.com/users/ianong113/orgs","repos_url":"https://api.github.com/users/ianong113/repos","events_url":"https://api.github.com/users/ianong113/events{/privacy}","received_events_url":"https://api.github.com/users/ianong113/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-22T05:07:17Z","updated_at":"2018-08-22T05:59:19Z","closed_at":"2018-08-22T05:59:19Z","author_association":"NONE","body":"Traceback (most recent call last):\r\n  File \"example.py\", line 35, in <module>\r\n    unfollow_whitelist=[bot])\r\nNameError: name 'bot' is not defined\r\n\r\nHow to fix this? Everytime I run my python example.py then I get this issue, if I make it blank. unfollow_whitelist=[] , it will prompt another issue as shown below.\r\n\r\n  File \"example.py\", line 35, in <module>\r\n    unfollow_whitelist=[])\r\n  File \"C:\\Users\\user\\Downloads\\instabot.py-master\\src\\instabot.py\", line 234, in __init__\r\n    self.login()\r\n  File \"C:\\Users\\user\\Downloads\\instabot.py-master\\src\\instabot.py\", line 303, in login\r\n    self.user_id = ui.get_user_id_by_login(self.user_login)\r\n  File \"C:\\Users\\user\\Downloads\\instabot.py-master\\src\\userinfo.py\", line 42, in get_user_id_by_login\r\n    json_info = json.loads(re.search('{\"activity.+show_app', info.text, re.DOTALL).group(0)+'\":\"\"}')\r\nAttributeError: 'NoneType' object has no attribute 'group'\r\n\r\nNoneType has no attribute... hmm.. how to fix this? Thanks\r\n\r\n"}}
{"actor":{"display_login":"ianong113"}}