Questions tagged [instapy]
98 questions
2
votes
0 answers
InstaPy failing on MacOs 11 with Python3
I try to setup an instaPy bot, using Python3, and get error
I run the quickstart example only
InstaPy Version: 0.6.13
._. ._. ._. ._. ._. ._. ._. ._. ._.
Workspace in use: "/Users/*****/InstaPy"
Traceback (most recent call last):
File…

Meric Fournier
- 37
- 2
2
votes
0 answers
problems setting up instapy in raspberry pi
I have a perfectly worling instapy bot on windows, I want to run the same thing on raspberry pi , I have bought a 3b model, and followed all insytructions as stated here…

Nikhil Singh
- 353
- 1
- 17
2
votes
1 answer
Instapy crashes instantly after login without performing any action
Instapy was running perfectly fine and suddenly I started to get warning Login test detected. And since then I'm unable to run it.
Here is error log-
InstaPy Version: 0.6.13
._. ._. ._. ._. ._. ._. ._. ._.
Workspace in use:…

Sharad Ranjan
- 35
- 6
2
votes
1 answer
Python: Heroku crashes on running instapy
I am making a instagram bot for my website using python , selenium and instapy. I have never made something like that with Python.
I have installed chrome buildpack and chrome driver in heroku.I read that Instapy has removed the chrome support due…

Kunal Kumar
- 39
- 12
2
votes
0 answers
Create exception for like already assigned in the InstaPy library
I have the algorithm below that performs likes and comments on instagram photos via URL, my goal is to run this script on an AWS machine within 5 minutes which will generate 288 comments per day. However, whenever he realizes that he already…

Luis Henrique
- 701
- 15
- 36
2
votes
0 answers
InstaPy: Any idea why interact_by_URL doesn't comment the provided URL?
I am new to Python, as well as new to InstaPy. I have configured a custom script to comment posts by provided URLs, but unfortunately, when the InstaPy running, it visiting the posts and doesn't comment them.
My code is the following:
# imports
from…

KodeFor.Me
- 13,069
- 27
- 98
- 166
1
vote
1 answer
instapy: selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: //div[text()='Log In']
I'm trying to log in to Instagram using instapy (0.6.16) using the following code
from instapy import Instapy
InstaPy(username="my_username", password="my_password").login()
The two steps of connection checklist and cookie creation seems to work…

Marco Abbatangelo
- 77
- 1
- 11
1
vote
0 answers
How to solve the InstaPy erorr while execute quickstart.py?
Help me please, i'm trying to make an instagram bot using a vps (ubuntu), and this error occur when i execute the quickstart.py:
error message
i cover the username.
also this is my quickstart file:
quickstart file
I tried to update,upgrade the…

LearnEatSleepRepeat
- 11
- 3
1
vote
0 answers
Error [Cookie file not found, creating cookie...] with InstaPy
I am starting to use the InstaPy library. To do this I launched the quickstart.py file to test the bot. I entered a username and password of a valid instagram account but my bot is still stuck on the cookies page.
During the execution (in…

Clément Gaudinière
- 59
- 6
1
vote
0 answers
Failed to get followers count of 'b'metapodcode'' ~empty list
With the June 2022 update, there have been some changes in Instagram's APIs. There was a discussion here about changing or updating this code. You can find the discussion here then i did some research on this topic and i found the fix here but this…

MetaPod
- 15
- 6
1
vote
0 answers
Unable to login with Instabot : Python
This is my simple code
from instabot import Bot
import os
import glob
cookie_del = glob.glob("config/*.txt")
os.remove(cookie_del[0])
cookie_del = glob.glob("config/*.json")
os.remove(cookie_del[0])
bot = Bot()
bot.login(username="myusername",…

krisskad
- 131
- 9
1
vote
0 answers
Instapy, getting a list of who a user is following with parameters
I'm getting a list of who a user's following in Instagram using Instapy. How do I create parameters so i only get users who have followers between 5k-10k alongside the grab_following function?
with smart_run(session):
count = 1
sessionCount…

Samuel Minkov-Temis
- 43
- 8
1
vote
0 answers
instapy: unable to determine correct filename for 64bit macos
I am trying to use instapy and it does not work for some reason. It gives me this message: unable to determine correct filename for 64bit macos
I tried to solve it with
'brew install geckodriver' as I saw suggested, but it did not work.
Please is…

Šárka Richterová
- 19
- 2
1
vote
1 answer
Instapy issue: "inappropriate, user_name, is_video, reason, scope = check_link()...", how to solve?
I've downloaded the last version of Instapy, and put it on C:\Users\adriel\AppData\Local\Programs\Python\Python39\Lib\site-packages , but always when I run a simple like_by_tag script or any other like script happen this issue:
inappropriate,…

Adriel Kirch
- 151
- 2
- 12
1
vote
0 answers
Python - Instagram InstaPy for automated liking and following
I wrote the following code that should like posts based on given tags and then follow the page. However, it seems the code runs, goes to those tags, but does not like or follow the page. My code is as follows:
from instapy import InstaPy
session =…

aditya
- 11
- 1