instabot | Instagram bot to increase the account number | Bot library
kandi X-RAY | instabot Summary
kandi X-RAY | instabot Summary
This scripts help you to grow your business or personal account on instagram. The most common way to get followers is follow a lot of people, wait some time and unfollow them, this is what the script does, but automated.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of instabot
instabot Key Features
instabot Examples and Code Snippets
Community Discussions
Trending Discussions on instabot
QUESTION
I am trying to log into my Instagram account using Selenium. For that, I need to fill in my username and password into the login form.
The username input bar has the tag input
and the name
equal to username
. Is there a way to retrieve this input bar using only the name
attribute and the tag name? I know I can use the XPath and the class name, but I want to do this using the name
attribute only.
I tried the code below but got an error.
Code:
...ANSWER
Answered 2022-Apr-08 at 09:20You saw it right. The Phone number, username, or email field has the
name
set as username.
QUESTION
Hello when i try to post on instagram flask doesn't let me do it and i have no idea why. I tested the instagram bot's library and it works but in flask it doesn't want to. Can someone help me solve this problem?
Python gives me this error:
...ANSWER
Answered 2021-Sep-11 at 12:17This is not a problem with flask
but rather instabot
. You can see in the traceback:
QUESTION
I have Instagram post id (ex "2659199092938255786") and I want to get the url of this post. I have this code
...ANSWER
Answered 2021-Sep-10 at 13:56Use this algorithm
QUESTION
I am looking for a tool that allows me to post to Instagram from python.
I would like to automate the process using a scheduler like Heroku or GCP cloud scheduler, so we think that something like selenium that uses GUI is not really suitable. (It may be possible to run it with selenium, though.)
I already tried instapy-cli and instabot, but they seemed to be unavailable now.
...ANSWER
Answered 2021-Jul-26 at 03:40You can try the official Instagram API for which you are going to have to set up a business account.
QUESTION
I am making a bot that auto-posts to Instagram using instabot
, now the thing is that if I exceed a number of request the bot terminate the script after retrying for some minutes.
The solution I came up with is to schedule the script to run every hour or so, and to ensure that the script will keep running constantly I used threading to restart the posting function when the thread is dead.
The function responsible for posting, in this code if the bot instance from instabot
retried sending requests for some minutes and failed, it terminates the whole script.
ANSWER
Answered 2021-Jun-12 at 11:04Looks to me like schedule
and threading
are overkill for your use case as your script only performs one single task, so you do not need concurrency and can run the whole thing in the main thread. You primarily just need to catch exceptions from the main
function. I would go with something like this:
QUESTION
Using Version: 0.117.0 of instabot.
Already being logged in I run:
...ANSWER
Answered 2021-Feb-16 at 01:03I already ran login before and it is supposed to store the credentials. When I reran login it always gave me:
QUESTION
I am currently working with the Instabot API for python and I ran across the following issue:
I wrote a small program:
...ANSWER
Answered 2021-May-02 at 20:05As far as I can see, the only way on your side to fight the symptoms is to always delete the JSON file in the config folder, e.g:
QUESTION
I have an Instagram robot class that takes the username and password and logs in to the account. I wrote a comment function in this class to put the comment below the post, I use this function but when it opens a custom post, when I leave a comment I get an error. I do not know the reason for this error Please let me know if anyone knows a solution
my code:
...ANSWER
Answered 2021-Feb-21 at 13:46The problem it you are setting your comment_box equal to an driver action not a web element. It will send out error "object has no attribute 'send_keys'" because it not an web element.
Also your comment_box is load more than one time. So you need to declare comment_box again after clicking it the first time.
Solutionremove click at the end of this line
QUESTION
I'm building an Instagram upload bot. Function upload
is expected to receive an image location and then proceed to upload it. The issue I'm facing is that the loop that goes through each individual element on an image list prints back numbers, instead of a string.
I have isolated the code to:
ANSWER
Answered 2021-Jan-19 at 07:48you are trying to get all the paths, but what you are doing is actually read the images and get the pixel data. To get all the paths you can use the glob
module.
Add from glob import glob
to your imports and change the following line:
QUESTION
I have been stuck at the code from a long time:
so i want to send dm's using python on instagram but i am having a problem slecting the user from drop down menu like the text even goes in here, but now after this how do i select the first person?
I have tried using the find xpath method or get the class method or even tried using the button containing the text.
please help me.
...ANSWER
Answered 2020-Nov-21 at 11:14Full working code. This will select the first suggestion, Visit the profile page, if the message option exists, it will click on message, and send the message.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install instabot
Inside each file, you need to change the first variables login.js YOUR_USERNAME YOUR_PASSWORD ENTER_BUTTON_NAME (Depends on your language, ex: Log In, Entrar, Anmelden) findfollowers.js TAG (The script will follow people using this hashtag) follow.js FOLLOW_BUTTON_NAME (Depends on your language, ex: Follow, Seguir, Folgen) unfollow.js FOLLOW_BUTTON_NAME (Depends on your language, ex: Following, Seguindo)
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page