Package: neo-instabot
Neo-Instabot 🤖 🌟Neo-Instabotis an extremely light instagram bot that uses the undocumented Web API. Unlike other bots, Instabot.py doesnotrequire Selenium or a WebDriver. Instead, it interacts with the API over simple HTTP Requests. It runs on most systems, including Raspberry Pi.RequirementsPython v3.6 or greaterPip v18 or greaterQuick Start 🚀Make sure you have Python 3.6 or above installedpython3 --versionOn Windows you might have to usepythonwithout the version (3) suffix. Experienced users should use virtualenv.Install instabot.py from PyPi repositorypython3 -m pip install neo-instabotStart the bot🏁neo-instabotorpython3 -m instabotneo-instabot -c myconfiguration.ymlorpython3 -m instabot -c myconfiguration.yml** Configuration  ** ⚙️By runningneo-instabot,  the Bot reads its configuration from instabot.config.yml in your current directory.
you can run the bot with a different configurationneo-instabot -c myconfiguration.ymlUpgrade ⬆️python3 -m pip install neo-instabot --no-cache-dir --upgradepip3 install neo-instabot --no-cache-dir --upgradeInstall methodsRecommended: From PyPi:(Stable)python3 -m pip install neo-instabotFrom sources:(Bleeding edge)python3 -m pip install git+https://github.com/yurilaaziz/neo-instabotParametersParameterTypeDescriptionDefault valueloginstrYour instagram usernamepasswordstrYour instagram passwordstart_at_hintStart program at the hour0start_at_mintStart program at the min0end_at_hintEnd program at the hour23end_at_mintEnd program at the min59databasedictContains the database configuration{"type": "sql", "connection_string": "sqlite:///{{login}}.db"}session_filestrchange the name of session file so to avoid having to login every time. Set False to disable."username.session"like_per_dayintDEPRECATED, WILL BE REMOVED SOON, REPLACED BY like_per_runlike_per_runintNumber of photos to like per day (over 1000 may cause throttling)1000media_max_likeintMaximum number of likes on photos to like (set to 0 to disable)0media_min_likeintMinimum number of likes on photos to like (set to 0 to disable)0follow_per_dayintDEPRECATED, WILL BE REMOVED SOON, REPLACED BY follow_per_run0follow_per_runintUsers to follow per day0follow_timeintSeconds to wait before unfollowing5 * 60 * 60user_min_followintCheck user before following them if they have X minimum of followers. Set 0 to disable0user_max_followintCheck user before following them if they have X maximum of followers. Set 0 to disable0follow_time_enabledboolREMOVED, TO DISBALE Follow_time, just set it to 0--unfollow_per_dayintDEPRECATED, WILL BE REMOVED SOON, REPLACED BY unfollow_per_run0unfollow_per_runintUsers to unfollow per day0unfollow_recent_feedboolIf enabled, will populate database with users from recent feed and unfollow if they meet the conditions. Disable if you only want the bot to unfollow people it has previously followed.Trueunlike_per_dayintDEPRECATED, WILL BE REMOVED SOON, REPLACED BY unlike_per_run0unlike_per_runintNumber of media to unlike that the bot has previously liked. Set to 0 to disable.0time_till_unlikeintHow long to wait after liking media before unliking them.3 * 24 * 60 * 60 (3 days)comments_per_dayintComments to post per day0comment_list[[str]]List of word lists for comment generation. @username@ will be replaced by the media owner's username[['this', 'your'], ['photo', 'picture', 'pic', 'shot'], ['is', 'looks', 'is really'], ['great', 'super', 'good'], ['.', '...', '!', '!!']]tag_list[str]Tags to use for finding posts by hasthag or location(l:locationid from e.g.https://www.instagram.com/explore/locations/212999109/los-angeles-california/)['cat', 'car', 'dog', 'l:212999109']keywords[str]Words to use for finding profiles with username or biography contain these words[]tag_blacklist[str]Tags to ignore when liking posts[]user_blacklist{str: str}Users whose posts to ignore. Example:{"username": "", "username2": ""}type only the key and leave value empty -- it will be populated with userids on startup.{}max_like_for_one_tagintHow many media of a given tag to like at once (out of 21)5unfollow_break_minintMinimum seconds to break between unfollows15unfollow_break_maxintMaximum seconds to break between unfollows30log_modintLogging target (0 log to console, 1 log to file, 2 no log.)0proxies (deprecated)dictAccess instagram through a proxy. {"http":"http://IP:PORT", "https":"http://IP:PORT"}(host:port or user:password@host:port)proxy_ipdictHTTP Proxy IP addressproxy_portintHTTP Proxy Portproxy_userstrHTTP Proxy usernameproxy_passwordstrHTTP Proxy passwordunfollow_not_followingboolUnfollow Condition: Unfollow those who do not follow you backTrueunfollow_inactiveboolUnfollow Condition: Unfollow those who have not posted in a while (inactive)Trueunfollow_probably_fakeboolUnfollow Condition: Unfollow accounts which skewed follow/follower ratio (probably fake)Trueunfollow_selebgramboolUnfollow Condition: Unfollow (celebrity) accounts with too many followers and not enough followingFalseunfollow_everyoneboolUnfollow Condition: Will unfollow everyone in unfollow queue (wildcard condition)FalseContributingPlease feel free to contribute and submit PR requests. All help is appreciated. Look for issues with the labelneeds help.Instabot with yaml configBy default, instabot looks for configuration file (instabot.config.yml)
it could be changed by exporting environment varibale with the full pathexportINSTABOT_CONFIG_FILE=instabot2.config.yml---login:"username"password:"password"debug:1#Send INFO notification to Telegram channellogging.handlers.telegram:level:INFOclass:telegram_handler.TelegramHandlertoken:__YOUR__CHANNEL__TOKEN__chat_id:__CHAT_ID__logging.loggers.InstaBot.handlers:-telegram-consolefollow_time:1200unfollow_per_day:1000follow_per_day:1000Create Telegram bot for instabotBlogsneo-instabot Rework: What's changed & how to configure the Telegram handlerWhat’s new in the Instagram bot 0.5.2CommunityTelegram GroupNew Facebook Group