{"action":"created","issue":{"url":"https://api.github.com/repos/instabot-py/instabot.py/issues/1666","repository_url":"https://api.github.com/repos/instabot-py/instabot.py","labels_url":"https://api.github.com/repos/instabot-py/instabot.py/issues/1666/labels{/name}","comments_url":"https://api.github.com/repos/instabot-py/instabot.py/issues/1666/comments","events_url":"https://api.github.com/repos/instabot-py/instabot.py/issues/1666/events","html_url":"https://github.com/instabot-py/instabot.py/issues/1666","id":369870406,"node_id":"MDU6SXNzdWUzNjk4NzA0MDY=","number":1666,"title":"Traceback (most recent call last)","user":{"login":"stormdragon288","id":34457437,"node_id":"MDQ6VXNlcjM0NDU3NDM3","avatar_url":"https://avatars3.githubusercontent.com/u/34457437?v=4","gravatar_id":"","url":"https://api.github.com/users/stormdragon288","html_url":"https://github.com/stormdragon288","followers_url":"https://api.github.com/users/stormdragon288/followers","following_url":"https://api.github.com/users/stormdragon288/following{/other_user}","gists_url":"https://api.github.com/users/stormdragon288/gists{/gist_id}","starred_url":"https://api.github.com/users/stormdragon288/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stormdragon288/subscriptions","organizations_url":"https://api.github.com/users/stormdragon288/orgs","repos_url":"https://api.github.com/users/stormdragon288/repos","events_url":"https://api.github.com/users/stormdragon288/events{/privacy}","received_events_url":"https://api.github.com/users/stormdragon288/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-10-14T05:48:23Z","updated_at":"2018-10-15T16:19:49Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nBefore opening a new issue, please ensure:\r\n- You search for existing bugs/feature requests\r\n- Remove extraneous template details\r\n- Do not prefix title with type of issue (Feature Request, Bug, etc.) The appropriate labels will be added during triage.\r\n- Do not delete any of the template, fill all of it in; even if you think it doesn't apply to your issue.\r\n- If you fail to follow these simple instructions, we will close the ticket.\r\n- [x] This is a checked box. **Do not leave spaces around the `x`!**\r\n-->\r\n\r\nCheck this or we will delete your issue. (fill in the checkbox with an X like so: [x])\r\n- [x] I have searched for other issues with the same problem. (including #1153)\r\n\r\n## Hosting\r\n- [x] Are you hosting the bot on a VPS or other Cloud hosting?\r\n- [x] If so; have you tried running the code on your local machine?\r\n\r\n#### Select one:\r\n- [ ] Bug\r\n- [ ] Feature Request\r\n- [x] Technical Help\r\n- [ ] Other\r\n\r\n### Operating System? (include version)\r\n- [x] MAC 10.12.6\r\n- [ ] Windows\r\n- [ ] Linux\r\n- [ ] Android\r\n\r\n## Python Version?\r\n- [ ] 2.x\r\n- [x] 3.7\r\n\r\n## Description of your issue\r\nHow to solve ? Traceback (most recent call last):\r\n  File \"example.py\", line 6, in <module>\r\n    from src import InstaBot\r\n  File \"/Users/pc-1/Desktop/instabot.py-master/src/__init__.py\", line 1, in <module>\r\n    from .instabot import InstaBot\r\n  File \"/Users/pc-1/Desktop/instabot.py-master/src/instabot.py\", line 6, in <module>\r\n    from .userinfo import UserInfo\r\n  File \"/Users/pc-1/Desktop/instabot.py-master/src/userinfo.py\", line 5, in <module>\r\n    import requests\r\nImportError: No module named requests﻿\r\n```\r\nInclude the contents of the error.log here (if applicable). < How to solve ? Traceback (most recent call last):\r\n  File \"example.py\", line 6, in <module>\r\n    from src import InstaBot\r\n  File \"/Users/pc-1/Desktop/instabot.py-master/src/__init__.py\", line 1, in <module>\r\n    from .instabot import InstaBot\r\n  File \"/Users/pc-1/Desktop/instabot.py-master/src/instabot.py\", line 6, in <module>\r\n    from .userinfo import UserInfo\r\n  File \"/Users/pc-1/Desktop/instabot.py-master/src/userinfo.py\", line 5, in <module>\r\n    import requests\r\nImportError: No module named requests﻿\r\n```\r\n\r\n## Config\r\n\r\n```\r\nInclude the contents of your config here #!/usr/bin/env python\r\n# -*- coding: utf-8 -*-\r\nimport os\r\nimport time\r\n\r\nfrom src import InstaBot\r\nfrom src.check_status import check_status\r\nfrom src.feed_scanner import feed_scanner\r\nfrom src.follow_protocol import follow_protocol\r\nfrom src.unfollow_protocol import unfollow_protocol\r\n\r\nbot = InstaBot(\r\n    login=\"CLEAR\",\r\n    password=\"CLEAR\",\r\n    like_per_day=1000,\r\n    comments_per_day=1000,\r\n    tag_list=[ 'mensfashion',],\r\n    tag_blacklist=['rain', 'thunderstorm', 'nsfw',],\r\n    user_blacklist={},\r\n    max_like_for_one_tag=50,\r\n    follow_per_day=0,\r\n    follow_time=1 * 60,\r\n    unfollow_per_day=0,\r\n    unfollow_break_min=15,\r\n    unfollow_break_max=30,\r\n    log_mod=0,\r\n    proxy='',\r\n    # List of list of words, each of which will be used to generate comment\r\n    # For example: \"This shot feels wow!\"\r\n    comment_list=[[\"this\", \"the\", \"your\"],\r\n                  [\"photo\", \"picture\", \"pic\", \"shot\", \"snapshot\"],\r\n                  [\"is\", \"looks\", \"feels\", \"is really\"],\r\n                  [\"great\", \"super\", \"good\", \"very good\", \"good\", \"wow\",\r\n                   \"WOW\", \"cool\", \"GREAT\",\"magnificent\", \"magical\",\r\n                   \"very cool\", \"stylish\", \"beautiful\", \"so beautiful\",\r\n                   \"so stylish\", \"so professional\", \"lovely\",\r\n                   \"so lovely\", \"very lovely\", \"glorious\",\"so glorious\",\r\n                   \"very glorious\", \"adorable\", \"excellent\", \"amazing\"],\r\n                  [\".\", \"..\", \"...\", \"!\", \"!!\", \"!!!\"]],\r\n    # Use unwanted_username_list to block usernames containing a string\r\n    ## Will do partial matches; i.e. 'mozart' will block 'legend_mozart'\r\n    ### 'free_followers' will be blocked because it contains 'free'\r\n    unwanted_username_list=[\r\n        'second', 'stuff', 'art', 'project', 'love', 'life', 'food', 'blog',\r\n        'free', 'keren', 'photo', 'graphy', 'indo', 'travel', 'art', 'shop',\r\n        'store', 'sex', 'toko', 'jual', 'online', 'murah', 'jam', 'kaos',\r\n        'case', 'baju', 'fashion', 'corp', 'tas', 'butik', 'grosir', 'karpet',\r\n        'sosis', 'salon', 'skin', 'care', 'cloth', 'tech', 'rental', 'kamera',\r\n        'beauty', 'express', 'kredit', 'collection', 'impor', 'preloved',\r\n        'follow', 'follower', 'gain', '.id', '_id', 'bags'\r\n    ],\r\n    unfollow_whitelist=['example_user_1', 'example_user_2'])\r\nwhile True:\r\n\r\n    #print(\"# MODE 0 = ORIGINAL MODE BY LEVPASHA\")\r\n    #print(\"## MODE 1 = MODIFIED MODE BY KEMONG\")\r\n    #print(\"### MODE 2 = ORIGINAL MODE + UNFOLLOW WHO DON'T FOLLOW BACK\")\r\n    #print(\"#### MODE 3 = MODIFIED MODE : UNFOLLOW USERS WHO DON'T FOLLOW YOU BASED ON RECENT FEED\")\r\n    #print(\"##### MODE 4 = MODIFIED MODE : FOLLOW USERS BASED ON RECENT FEED ONLY\")\r\n    #print(\"###### MODE 5 = MODIFIED MODE : JUST UNFOLLOW EVERYBODY, EITHER YOUR FOLLOWER OR NOT\")\r\n\r\n    ################################\r\n    ##  WARNING   ###\r\n    ################################\r\n\r\n    # DON'T USE MODE 5 FOR A LONG PERIOD. YOU RISK YOUR ACCOUNT FROM GETTING BANNED\r\n    ## USE MODE 5 IN BURST MODE, USE IT TO UNFOLLOW PEOPLE AS MANY AS YOU WANT IN SHORT TIME PERIOD\r\n\r\n    mode = 0\r\n\r\n    #print(\"You choose mode : %i\" %(mode))\r\n    #print(\"CTRL + C to cancel this operation or wait 30 seconds to start\")\r\n    #time.sleep(30)\r\n\r\n    if mode == 0:\r\n        bot.new_auto_mod()\r\n\r\n    elif mode == 1:\r\n        check_status(bot)\r\n        while bot.self_following - bot.self_follower > 200:\r\n            unfollow_protocol(bot)\r\n            time.sleep(10 * 60)\r\n            check_status(bot)\r\n        while bot.self_following - bot.self_follower < 400:\r\n            while len(bot.user_info_list) < 50:\r\n                feed_scanner(bot)\r\n                time.sleep(5 * 60)\r\n                follow_protocol(bot)\r\n                time.sleep(10 * 60)\r\n                check_status(bot)\r\n\r\n    elif mode == 2:\r\n        bot.bot_mode = 1\r\n        bot.new_auto_mod()\r\n\r\n    elif mode == 3:\r\n        unfollow_protocol(bot)\r\n        time.sleep(10 * 60)\r\n\r\n    elif mode == 4:\r\n        feed_scanner(bot)\r\n        time.sleep(60)\r\n        follow_protocol(bot)\r\n        time.sleep(10 * 60)\r\n\r\n    elif mode == 5:\r\n        bot.bot_mode = 2\r\n        unfollow_protocol(bot)\r\n\r\n    else:\r\n        print(\"Wrong mode!\")\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/instabot-py/instabot.py/issues/comments/429919503","html_url":"https://github.com/instabot-py/instabot.py/issues/1666#issuecomment-429919503","issue_url":"https://api.github.com/repos/instabot-py/instabot.py/issues/1666","id":429919503,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTkxOTUwMw==","user":{"login":"stormdragon288","id":34457437,"node_id":"MDQ6VXNlcjM0NDU3NDM3","avatar_url":"https://avatars3.githubusercontent.com/u/34457437?v=4","gravatar_id":"","url":"https://api.github.com/users/stormdragon288","html_url":"https://github.com/stormdragon288","followers_url":"https://api.github.com/users/stormdragon288/followers","following_url":"https://api.github.com/users/stormdragon288/following{/other_user}","gists_url":"https://api.github.com/users/stormdragon288/gists{/gist_id}","starred_url":"https://api.github.com/users/stormdragon288/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stormdragon288/subscriptions","organizations_url":"https://api.github.com/users/stormdragon288/orgs","repos_url":"https://api.github.com/users/stormdragon288/repos","events_url":"https://api.github.com/users/stormdragon288/events{/privacy}","received_events_url":"https://api.github.com/users/stormdragon288/received_events","type":"User","site_admin":false},"created_at":"2018-10-15T16:19:49Z","updated_at":"2018-10-15T16:19:49Z","author_association":"NONE","body":"I'm running python 3.7 and still on this same issue and it's stuck. \r\n\r\nWhen trying to add requests I got:\r\n\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\nImportError: No module named requests\r\n\r\nHow do I manually add that?"}}
{"actor":{"display_login":"stormdragon288"}}