{"action":"created","issue":{"url":"https://api.github.com/repos/instabot-py/instabot.py/issues/1766","repository_url":"https://api.github.com/repos/instabot-py/instabot.py","labels_url":"https://api.github.com/repos/instabot-py/instabot.py/issues/1766/labels{/name}","comments_url":"https://api.github.com/repos/instabot-py/instabot.py/issues/1766/comments","events_url":"https://api.github.com/repos/instabot-py/instabot.py/issues/1766/events","html_url":"https://github.com/instabot-py/instabot.py/issues/1766","id":386564125,"node_id":"MDU6SXNzdWUzODY1NjQxMjU=","number":1766,"title":"Instabot - Error on trying to login - 1st Configuration","user":{"login":"axbstreet","id":45536697,"node_id":"MDQ6VXNlcjQ1NTM2Njk3","avatar_url":"https://avatars1.githubusercontent.com/u/45536697?v=4","gravatar_id":"","url":"https://api.github.com/users/axbstreet","html_url":"https://github.com/axbstreet","followers_url":"https://api.github.com/users/axbstreet/followers","following_url":"https://api.github.com/users/axbstreet/following{/other_user}","gists_url":"https://api.github.com/users/axbstreet/gists{/gist_id}","starred_url":"https://api.github.com/users/axbstreet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axbstreet/subscriptions","organizations_url":"https://api.github.com/users/axbstreet/orgs","repos_url":"https://api.github.com/users/axbstreet/repos","events_url":"https://api.github.com/users/axbstreet/events{/privacy}","received_events_url":"https://api.github.com/users/axbstreet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-12-02T14:21:51Z","updated_at":"2018-12-08T10:49:18Z","closed_at":null,"author_association":"NONE","body":"\r\n\r\n## Hosting\r\nPython - Local machine\r\n\r\n#### Select one:\r\n- [X] Technical Help\r\n\r\n### Operating System? (include version)\r\n- [X ] Windows\r\n\r\n## Python Version?\r\n- [X] 3.7.1\r\n\r\n## Description of your issue\r\n\r\nTraceback (most recent call last):\r\n  File \"example.py\", line 52, in <module>\r\n    unfollow_whitelist=['example_user_1', 'example_user_2'])\r\n  File \"C:\\Users\\abphf16.DESKTOP-2DKHBB3\\Downloads\\instabot.py-master\\src\\instabot.py\", line 236, in __init__\r\n    self.login()\r\n  File \"C:\\Users\\abphf16.DESKTOP-2DKHBB3\\Downloads\\instabot.py-master\\src\\instabot.py\", line 287, in login\r\n    self.s.headers.update({'X-CSRFToken': r.cookies['csrftoken']})\r\n  File \"C:\\Users\\abphf16.DESKTOP-2DKHBB3\\AppData\\Local\\Programs\\Python\\Python37\\lib\\site-packages\\requests\\cookies.py\", line 328, in __getitem__\r\n    return self._find_no_duplicates(name)\r\n  File \"C:\\Users\\abphf16.DESKTOP-2DKHBB3\\AppData\\Local\\Programs\\Python\\Python37\\lib\\site-packages\\requests\\cookies.py\", line 399, in _find_no_duplicates\r\n    raise KeyError('name=%r, domain=%r, path=%r' % (name, domain, path))\r\nKeyError: \"name='csrftoken', domain=None, path=None\"\r\n\r\n## Config\r\n\r\n#!/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=\"username\",\r\n    password=\"password\",\r\n    like_per_day=1000,\r\n    comments_per_day=0,\r\n    tag_list=['streetlife_mag', 'streetscenemag', 'streetleaks', 'ig_streets', 'zonestreet', 'worldstreetfeature', 'streethubchallenge', 'world_street_photographers', 'street_perfection', 'human_streetphoto', 'streetfeat', 'best_streetview', 'streets_focus_on', 'beststreets', 'streets_oftheworld', 'capturestreets', 'worldstreetphotography', 'streetizm', 'streets_storytelling', 'eyeshotmag', 'fstopmagazine', 'observecollective', 'yallersStreet', 'wearethestreets', 'timeless_Streets', 'hsp_new_talent', 'fivesixmag', 'storyofthestreet', 'worldstreetfeature'],\r\n    tag_blacklist=['rain', 'thunderstorm'],\r\n    user_blacklist={},\r\n    max_like_for_one_tag=50,\r\n    follow_per_day=300,\r\n    follow_time=1 * 60,\r\n    unfollow_per_day=300,\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"},"comment":{"url":"https://api.github.com/repos/instabot-py/instabot.py/issues/comments/445450057","html_url":"https://github.com/instabot-py/instabot.py/issues/1766#issuecomment-445450057","issue_url":"https://api.github.com/repos/instabot-py/instabot.py/issues/1766","id":445450057,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTQ1MDA1Nw==","user":{"login":"pablo3600","id":45690842,"node_id":"MDQ6VXNlcjQ1NjkwODQy","avatar_url":"https://avatars0.githubusercontent.com/u/45690842?v=4","gravatar_id":"","url":"https://api.github.com/users/pablo3600","html_url":"https://github.com/pablo3600","followers_url":"https://api.github.com/users/pablo3600/followers","following_url":"https://api.github.com/users/pablo3600/following{/other_user}","gists_url":"https://api.github.com/users/pablo3600/gists{/gist_id}","starred_url":"https://api.github.com/users/pablo3600/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pablo3600/subscriptions","organizations_url":"https://api.github.com/users/pablo3600/orgs","repos_url":"https://api.github.com/users/pablo3600/repos","events_url":"https://api.github.com/users/pablo3600/events{/privacy}","received_events_url":"https://api.github.com/users/pablo3600/received_events","type":"User","site_admin":false},"created_at":"2018-12-08T10:49:18Z","updated_at":"2018-12-08T10:49:18Z","author_association":"NONE","body":"\r\nWhat desperation with instabot does not work for me in any way please someone to help us.\r\n\r\nDoes anyone know why this has stopped working or is it due?\r\n\r\nI just worked hard 2 weeks I stopped using it a few days and I already jumped errors without modifying anything from any file\r\n\r\nReally, it's crap."}}
{"actor":{"display_login":"pablo3600"}}