Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comments only on one post #21

Open
5 of 11 tasks
stbernardy opened this issue Aug 26, 2018 · 1 comment
Open
5 of 11 tasks

Comments only on one post #21

stbernardy opened this issue Aug 26, 2018 · 1 comment

Comments

@stbernardy
Copy link

stbernardy commented Aug 26, 2018

Fill in all requirements before submitting an issue.

  • This is a checked box. Do not leave spaces around the x!

Issue with the same problem

  • I have searched for other issues with the same problem.

Hosting

  • Is it a local machine?

Select one:

  • Bug
  • Feature Request
  • Technical Help
  • Other

Operating System? (include version)

Linux

Running Mode

  • instaboost.exe
  • example.py , mode (0)?
  • instaboost.py
  • Other

Python Version?

2

Description

Type the description of your issue here.
Only comments on one post

Include the contents of the error.log here (if applicable).

00:13 Trying to comment: 1854280736662029348
00:13 Commented: "Comrade come to the motherland". #1.
00:14 Trying to comment: 1854280736662029348
00:14 Commented: "Comrade come to the motherland". #2.
00:14 Trying to comment: 1854280736662029348
00:14 Commented: "Comrade come to the motherland". #3.
00:15 Trying to comment: 1854280736662029348
00:15 Commented: "Comrade come to the motherland". #4.
00:16 Trying to comment: 1854280736662029348
00:16 Commented: "Comrade come to the motherland". #5.
00:17 Trying to comment: 1854280736662029348
00:17 Commented: "Comrade come to the motherland". #6.
00:17 Trying to comment: 1854280736662029348
00:17 Commented: "Comrade come to the motherland". #7.
00:18 Trying to comment: 1854280736662029348
00:18 Commented: "Comrade come to the motherland". #8.
00:19 Trying to comment: 1854280736662029348
00:19 Commented: "Comrade come to the motherland". #9.


#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import time


from src import InstaBot
from src.check_status import check_status
from src.feed_scanner import feed_scanner
from src.follow_protocol import follow_protocol
from src.unfollow_protocol import unfollow_protocol
#from src import ihm





bot = InstaBot(
    login="",
    password="",
    like_per_day=0,
    comments_per_day=2000,
    tag_list=['tag'], #l: for location, check example in readme.md
    tag_blacklist=[],
    user_blacklist={},
    max_like_for_one_tag=0,
    follow_per_day=0,
    follow_time=1 * 60,
    unfollow_per_day=0,
    unfollow_break_min=0,
    unfollow_break_max=1,
    log_mod=0,
    proxy='',
    # List of list of words, each of which will be used to generate comment
    # For example: "This shot feels wow!"
    comment_list=[["comrade"],
                          ["come"],
                          ["to"],
                          ["the"],
                          ["motherland"],
                          ],
    # Use unwanted_username_list to block usernames containing a string
    ## Will do partial matches; i.e. 'mozart' will block 'legend_mozart'
    ### 'free_followers' will be blocked because it contains 'free'
    unfollow_whitelist=[''],
    UI = False)



while True:

    #print("# MODE 0 = ORIGINAL MODE BY LEVPASHA")
    #print("## MODE 1 = MODIFIED MODE BY KEMONG")
    #print("### MODE 2 = ORIGINAL MODE + UNFOLLOW WHO DON'T FOLLOW BACK")
    #print("#### MODE 3 = MODIFIED MODE : UNFOLLOW USERS WHO DON'T FOLLOW YOU BASED ON RECENT FEED")
    #print("##### MODE 4 = MODIFIED MODE : FOLLOW USERS BASED ON RECENT FEED ONLY")
    #print("###### MODE 5 = MODIFIED MODE : JUST UNFOLLOW EVERYBODY, EITHER YOUR FOLLOWER OR NOT")

    ################################
    ##  WARNING   ###
    ################################

    # DON'T USE MODE 5 FOR A LONG PERIOD. YOU RISK YOUR ACCOUNT FROM GETTING BANNED
    ## USE MODE 5 IN BURST MODE, USE IT TO UNFOLLOW PEOPLE AS MANY AS YOU WANT IN SHORT TIME PERIOD

    mode = 0

    #print("You choose mode : %i" %(mode))
    #print("CTRL + C to cancel this operation or wait 30 seconds to start")
    #time.sleep(30)
    if  bot.login_status == False:
        break

    if mode == 0:
        bot.new_auto_mod()
    elif mode == 1:
        check_status(bot)
        while bot.self_following - bot.self_follower > 200:
            unfollow_protocol(bot)
            time.sleep(10 * 60)
            check_status(bot)
        while bot.self_following - bot.self_follower < 400:
            while len(bot.user_info_list) < 50:
                feed_scanner(bot)
                time.sleep(5 * 60)
                follow_protocol(bot)
                time.sleep(10 * 60)
                check_status(bot)

    elif mode == 2:
        bot.bot_mode = 1
        bot.new_auto_mod()

    elif mode == 3:
        unfollow_protocol(bot)
        time.sleep(10 * 60)

    elif mode == 4:
        feed_scanner(bot)
        time.sleep(60)
        follow_protocol(bot)
        time.sleep(10 * 60)

    elif mode == 5:
        bot.bot_mode = 2
        unfollow_protocol(bot)
    else:
        print("Wrong mode!")
@andrewsegas
Copy link
Owner

Change the number of tags and like per tag, it will help the robot to find more photos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants