So as can be seen from https://github.com/timgrossmann/InstaPy/issues/4595 and other threads Instagram has put Instapy out of business for good...
Regardless of the speed, somehow they figure out the script really fast now (be that liking just once an hour, Firefox or Chrome, changing IPs, etc.), while mobile activity does not seem to be impacted.
The question here is if using chrome mobile emulation could help here?
And is there anyone to tell me how do I test it properly :)
Still works fine
My session just finished without issues, I fixed it by deleting login cookie.
So as can be seen from #4595 and other threads Instagram has put Instapy out of business for good...
I'm not sure that is actually the case. Although I've had bans in the past, my main accounts have been chugging along nicely for weeks, possibly (but who knows??) because of the low peak rates, very few accounts, randomise everything, and using a residential IP address (i.e. no datacentres involved).
Mobile emulation may help, but who does genuine Instagram work from a web browser on their phones, instead of using the app? My guess is that this will be flagged as "botty" just the same, and throttled right down.
I hope to be wrong, but it looks like that we will get used to quit InstaPy...
Has been working fine for me as well. Unrelated issues with the latest update but I haven't been banned so far.
Mild settings on quota supervisor
randomized action delays
mild like/follow/commenting ratios..
so far so good.
@intellem0s could you please share likes/follows per hour (on average) you are doing it at?
While some are not affected, many are. And for those who are - mobile apps are still functional, while browser activity is not...
i have it running every 4 hours. in each session in averages about
likes: 190-210
comments: 30-50 (i play with these percentages too often for a more concrete grasp)
follow: 40-60
unfollow: 30, slowly raising these but that's been working out so far. fingers crossed
i have it running every 4 hours. in each session in averages about
likes: 190-210
comments: 30-50 (i play with these percentages too often for a more concrete grasp)
follow: 40-60
unfollow: 30, slowly raising these but that's been working out so far. fingers crossed
Mine are way far less aggressive but I am blocked from any actions.
i have it running every 4 hours. in each session in averages about
likes: 190-210
comments: 30-50 (i play with these percentages too often for a more concrete grasp)
follow: 40-60
unfollow: 30, slowly raising these but that's been working out so far. fingers crossedMine are way far less aggressive but I am blocked from any actions.
that scares me. i'll go a more modest route
assets.zip
please try with this chromedriver and non headless
assets.zip
please try with this chromedriver and non headless
what is this?
I don't think headless makes such a difference
I don't think headless makes such a difference
please don't think.
Test, ask, check, study.
HEADLESS IS SUPER DETECTABLE!
I have only 15% follow blocks on my instapy accounts.
assets.zip
please try with this chromedriver and non headlesswhat is this?
chromedriver modifided.
@sionking Thanks - can you advise how to use the modified chromedriver?
@sionking yeah man obviously we can understand this, but what has been modified ???
@sionking in my question I actually mean where do I specifically place the new chromedriver? (Windows 10) I popped file into C:\Users\KTC\InstaPy\assets but still immediately "like blocked" with non-headless browser. Does the new driver instead need to go somewhere related to C:\Users\KTC\AppData\Local\Programs\Python\Python37-32\lib\site-packages\instapy ?
Thank you for your review and time.
assets.zip
please try with this chromedriver and non headless
I tried the modified chromedriver and so far it's working fine, I stopped for today and will try again tomorrow.. For the last two weeks I was not even able to like this many pictures without getting blocked
|> LIKED 26 images | ALREADY LIKED: 2
|> COMMENTED on 0 images
|> FOLLOWED 0 users | ALREADY FOLLOWED: 0
|> UNFOLLOWED 0 users
|> LIKED 0 comments
|> REPLIED to 0 comments
|> INAPPROPRIATE images: 0
|> NOT VALID users: 38
Yes, where do we put it in? :) For rookies... I mean - new chromedriver (to be sure it still does not use the old one)
assets.zip
please try with this chromedriver and non headless
Thanks for your help.
I have just tried but unfortunately it does not work. I run chromedriver75 file and I got blocked to like.
Very sad.
Just a note: I see through the browser that bot likes a pictures, the terminal shows "Image liked" but immediately after that like is being deleted and the terminal windows shows the fu*ing sentence: "... you have BLOCK on likes".
Really disappointing...
Yes, where do we put it in? :) For rookies... I mean - new chromedriver (to be sure it still does not use the old one)
For Windows users:
1) put chromedriver (73 or 75 exe files based on your Chrome version) file provided at this location: C:\users\your-pc-username\InstaPy\assets
2) open file "settings.py" which is located here: C:\Program Files\Python\Python36\Lib\site-packages\instapy
3) insert a new row at 37 with this: chromedriver_location = "C:/users/your-pc-username/InstaPy/assets/chromedriver"
4) comment out this: chromedriver_location = localize_path("assets", specific_chromedriver)
That's it.
Thank you @RRphoto - I was able to make the edits with modified chromedriver in place. That said, I am still ACTION BLOCKED upon very first attempt on running instapy thereafter to LIKE images.
Who is still running instapy successfully and how? I never use the follow/unfollow actions and was using it to perform LIKE actions on a specific list of users to free up my time. Really bummed to lose my instapy functionality completely.
Thank you @RRphoto - I was able to make the edits with modified chromedriver in place. That said, I am still ACTION BLOCKED upon very first attempt on running instapy thereafter to LIKE images.
Who is still running instapy successfully and how? I never use the follow/unfollow actions and was using it to perform LIKE actions on a specific list of users to free up my time. Really bummed to lose my instapy functionality completely.
You can just remove old one and put the new one in the asset folder, jsut rename it (remove the 73/75 at the end). remove cookies (in logs folder) don't go headless, and try again.
@sionking for me it's working again using your driver. Thanks a lot. Do you also have a driver for mac?
@sionking for me it's working again using your driver. Thanks a lot. Do you also have a driver for mac?
Did you run more times consecutively? What are your settings in quickstart.py
file?
Two 4 hour runs of > 400 likes each and > 50 follows and > 50 comments. I deleted the cookie and randomized the delays of likes, follows and comments.
Two 4 hour runs of > 400 likes each and > 50 follows and > 50 comments. I deleted the cookie and randomized the delays of likes, follows and comments.
I also radomzied the delays on likes and seemed to make some difference
What to do on unix server ? We can't use headless=false
is there a version of the chromedriver for unix ? as mentioned is for windows
What to do on unix server ? We can't use headless=false
is there a version of the chromedriver for unix ? as mentioned is for windows
What to do on unix server ? We can't use headless=false
is there a version of the chromedriver for unix ? as mentioned is for windows
Vnc
Hi, i tried to delete the cookie file, but after one session, i cannot find it again and delete it, why ?
What to do on unix server ? We can't use headless=false
is there a version of the chromedriver for unix ? as mentioned is for windowsWhat to do on unix server ? We can't use headless=false
is there a version of the chromedriver for unix ? as mentioned is for windowsVnc
He (also) asked for a Unix version of chromedriver file. Furthermore, VNC is only a viewer and if the Unix server is a non-GUI version, like Ubuntu Server or CentOS, VNC is completely unuseful.
What to do on unix server ? We can't use headless=false
is there a version of the chromedriver for unix ? as mentioned is for windowsWhat to do on unix server ? We can't use headless=false
is there a version of the chromedriver for unix ? as mentioned is for windowsVnc
He (also) asked for a Unix version of chromedriver file. Furthermore, VNC is only a viewer and if the Unix server is a non-GUI version, like Ubuntu Server or CentOS, VNC is completely unuseful.
Then you install Gui
I did it. Works perfect
Today after the third day I got blocked again for likes.
|> LIKED 38 images | ALREADY LIKED: 2
|> COMMENTED on 0 images
|> FOLLOWED 0 users | ALREADY FOLLOWED: 0
|> UNFOLLOWED 0 users
|> LIKED 0 comments
|> REPLIED to 0 comments
|> INAPPROPRIATE images: 0
|> NOT VALID users: 52
[Session lasted 24.28 minutes]
Today after the third day I got blocked again for likes.
|> LIKED 38 images | ALREADY LIKED: 2 |> COMMENTED on 0 images |> FOLLOWED 0 users | ALREADY FOLLOWED: 0 |> UNFOLLOWED 0 users |> LIKED 0 comments |> REPLIED to 0 comments |> INAPPROPRIATE images: 0 |> NOT VALID users: 52 [Session lasted 24.28 minutes]
Just for information.
You got blocked after using the customized chromedriver published some days ago here?
What to do on unix server ? We can't use headless=false
is there a version of the chromedriver for unix ? as mentioned is for windowsWhat to do on unix server ? We can't use headless=false
is there a version of the chromedriver for unix ? as mentioned is for windowsVnc
He (also) asked for a Unix version of chromedriver file. Furthermore, VNC is only a viewer and if the Unix server is a non-GUI version, like Ubuntu Server or CentOS, VNC is completely unuseful.
Then you install Gui
I did it. Works perfect
Most of servers run non-GUI, CentOS is only non-GUI and Ubuntu (non server edition) is not optimized to run on servers.
What to do on unix server ? We can't use headless=false
is there a version of the chromedriver for unix ? as mentioned is for windowsWhat to do on unix server ? We can't use headless=false
is there a version of the chromedriver for unix ? as mentioned is for windowsVnc
He (also) asked for a Unix version of chromedriver file. Furthermore, VNC is only a viewer and if the Unix server is a non-GUI version, like Ubuntu Server or CentOS, VNC is completely unuseful.
Then you install Gui
I did it. Works perfect
Most of servers run non-GUI, CentOS is only non-GUI and Ubuntu (non server edition) is not optimized to run on servers.
Then don’t be surprised if you get blocked my bot is running on 6 accounts for almost 2 weeks. Without any block. I like comment follow and unfollow
I installed a GUI and never had any problem anymore
What to do on unix server ? We can't use headless=false
is there a version of the chromedriver for unix ? as mentioned is for windowsWhat to do on unix server ? We can't use headless=false
is there a version of the chromedriver for unix ? as mentioned is for windowsVnc
He (also) asked for a Unix version of chromedriver file. Furthermore, VNC is only a viewer and if the Unix server is a non-GUI version, like Ubuntu Server or CentOS, VNC is completely unuseful.
Then you install Gui
I did it. Works perfect
Most of servers run non-GUI, CentOS is only non-GUI and Ubuntu (non server edition) is not optimized to run on servers.Then don’t be surprised if you get blocked my bot is running on 6 accounts for almost 2 weeks. Without any block. I like comment follow and unfollow
I installed a GUI and never had any problem anymore
Ok, bravo!
Got banned with @sionking chromedriver as well.
Does anyone know how to run Instapy on mobile emulation of chrome?
Si se ejecuta de manera local no esta recibiendo los bloques, el problema esta si se ejecuta desde un servidor ejemplo Linux, porque Instagram esta detectando la Ip de origen de la cuenta vs la Ip de ejecucion,
Got banned with @sionking chromedriver as well.
Does anyone know how to run Instapy on mobile emulation of chrome?
Banned or blocked on likes? It is a little bit different.
Si se ejecuta de manera local no esta recibiendo los bloques, el problema esta si se ejecuta desde un servidor ejemplo Linux, porque Instagram esta detectando la Ip de origen de la cuenta vs la Ip de ejecucion,
I'm running on my local computer not even headless and getting blocked..
I got blocked on likes again in the 3rd cycle (using the customized chrome driver and custom delays). Now when I try to run a new cycle I get blocked after 2 likes or so. Guess I'll have to wait again for some days and try again...
What to do on unix server ? We can't use headless=false
is there a version of the chromedriver for unix ? as mentioned is for windowsWhat to do on unix server ? We can't use headless=false
is there a version of the chromedriver for unix ? as mentioned is for windowsVnc
He (also) asked for a Unix version of chromedriver file. Furthermore, VNC is only a viewer and if the Unix server is a non-GUI version, like Ubuntu Server or CentOS, VNC is completely unuseful.
Then you install Gui
I did it. Works perfect
Most of servers run non-GUI, CentOS is only non-GUI and Ubuntu (non server edition) is not optimized to run on servers.Then don’t be surprised if you get blocked my bot is running on 6 accounts for almost 2 weeks. Without any block. I like comment follow and unfollow
I installed a GUI and never had any problem anymore
How many likes/comments/follows/unfollows do you perform on average? @Tr1pke
What to do on unix server ? We can't use headless=false
is there a version of the chromedriver for unix ? as mentioned is for windowsWhat to do on unix server ? We can't use headless=false
is there a version of the chromedriver for unix ? as mentioned is for windowsVnc
He (also) asked for a Unix version of chromedriver file. Furthermore, VNC is only a viewer and if the Unix server is a non-GUI version, like Ubuntu Server or CentOS, VNC is completely unuseful.
Then you install Gui
I did it. Works perfect
Most of servers run non-GUI, CentOS is only non-GUI and Ubuntu (non server edition) is not optimized to run on servers.Then don’t be surprised if you get blocked my bot is running on 6 accounts for almost 2 weeks. Without any block. I like comment follow and unfollow
I installed a GUI and never had any problem anymoreHow many likes/comments/follows/unfollows do you perform on average? @Tr1pke
250 likes, 200 comments 65 follows 100unfollows
that's my max with supervisor 24/7
What to do on unix server ? We can't use headless=false
is there a version of the chromedriver for unix ? as mentioned is for windowsWhat to do on unix server ? We can't use headless=false
is there a version of the chromedriver for unix ? as mentioned is for windowsVnc
He (also) asked for a Unix version of chromedriver file. Furthermore, VNC is only a viewer and if the Unix server is a non-GUI version, like Ubuntu Server or CentOS, VNC is completely unuseful.
Then you install Gui
I did it. Works perfect
Most of servers run non-GUI, CentOS is only non-GUI and Ubuntu (non server edition) is not optimized to run on servers.Then don’t be surprised if you get blocked my bot is running on 6 accounts for almost 2 weeks. Without any block. I like comment follow and unfollow
I installed a GUI and never had any problem anymore
Sorry, which GUI and how do I install it to try?
Any GUI. I have gnome
Any GUI. I have gnome
I am sorry, I do not understand. You mean GUI for instapy? called Gnome? Can you give a link please?
Any GUI. I have gnome
I am sorry, I do not understand. You mean GUI for instapy? called Gnome? Can you give a link please?
He meant an OS with GUI. Unix Servers usually don’t run with GUI. Gnome is the GUI of most Linux distros.
For you I would suggest to create a VM in your host running Ubuntu or so, you’ll get an OS with GUI or at least running InstaPy in a docker container.
Right. So doing so, helps to instagram not detect Instapy? (as opposed to running it straight on Windows)?
Do you know - why?
It's not instapy that needs saving, it's the crazy amount of actions new user runs with then complains that they are action blocked!
@LexLinux I've been using this for more than a year. With similar very MODERATE amount of actions (no more than 100-150 likes per 24 hours). Without any issues.
Recent changes - get me blocked after 20 likes per 24 hour period (less than 1 like per hour).
If you did not face an issue yourself, don't assume no one else had. If you'd study comments in this and other threads, you'd see the problem is quite real.
Now back to the topic. @RRphoto Did you try the GUI method? Did that change anything? For Windows users - you think running VM with Ubuntu will change things?
LOL I was not me saying you do these crazy amounts of actions ... just pointing out that it's mostly new users who are blocked ....I've been running for maybe 2 months and had 1 or 2 issues that was resolved with a quick internet search.
No need to study issues as i've not had many issues myself.
I'm well aware that others are facing blocks .... I do help these users on the daily.
Might be a good idea to add more complexity and randomness to the template my dude :) The more human it looks to the almighty bot catcher the better lol
Well, I do have it very random already. (like random delay to like it every 1-2 hours on average). This is way too slow for instagram to detect Instapy purely based on the activity.
And, again, liking from the app is totally fine even from under the same IP (while bot is blocked, without showing “blocked warning”).
Hence, Instagram clearly learned to differentiate between browser based activity and app activity.
Hence this topic was started...
Hi, i tried to delete the cookie file, but after one session, i cannot find it again and delete it, why ?
@sionking so with the new chromedriver it still does not work sadly. Anything else we can try?
So I am trying right now with:
mobile_emulation = { "deviceName": "BlackBerry Z30" }
chrome_options.add_experimental_option("mobileEmulation", mobile_emulation)
Instagram gives a message "Add instagram to your home screen" - so it is promising, they think I am on the mobile! :)
Added to browser.py as @uluQulu suggested once upon a time.
Trying that at very slow speed with @sionking chromedriver75 version
And I am getting this error. Can anyone help to troubleshoot?
" File "C:\Users\inna\AppData\Local\Programs\Python\Python36\Lib\site-packages\i
nstapy\instapy.py", line 2858, in interact_user_followers
self.logfolder)
File "C:\Users\inna\AppData\Local\Programs\Python\Python36\Lib\site-packages\i
nstapy\unfollow_util.py", line 1079, in get_given_user_followers
logger, logfolder)
File "C:\Users\inna\AppData\Local\Programs\Python\Python36\Lib\site-packages\i
nstapy\unfollow_util.py", line 807, in get_users_through_dialog
dialog = browser.find_element_by_xpath(dialog_address)
File "C:\Users\inna\AppData\Local\Programs\Python\Python36\Lib\site-packages\s
elenium\webdriver\remote\webdriver.py", line 394, in find_element_by_xpath
return self.find_element(by=By.XPATH, value=xpath)
File "C:\Users\inna\AppData\Local\Programs\Python\Python36\Lib\site-packages\s
elenium\webdriver\remote\webdriver.py", line 978, in find_element
'value': value})['value']
File "C:\Users\inna\AppData\Local\Programs\Python\Python36\Lib\site-packages\s
elenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "C:\Users\inna\AppData\Local\Programs\Python\Python36\Lib\site-packages\s
elenium\webdriver\remote\errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: no such element: Una
ble to locate element: {"method":"xpath","selector":"//body/div[3]/div/div[2]"}
(Session info: chrome=75.0.3770.100)
(Driver info: chromedriver=2.44.609538 (b655c5a60b0b544917107a59d4153d4bf78e1b
90),platform=Windows NT 6.3.9600 x86_64)"
Very odd that when you open normal chrome, you can like the post, instapy couldnt like, opening a new tab in instapy-chrome session, also wouldn't like, normal chrome and firefox works. So what do they actually detect? Some kind of useragent?
I'll add that I fixed it AGAIN, by deleting my cookie, now likes work again.
I added this to my "quickstart" file:
if os.path.exists("C:/Users/User/InstaPy/logs/yourusername/yourusername_cookie.pkl"):
os.remove("C:/Users/User/InstaPy/logs/yourusername/yourusername_cookie.pkl")
So every new run, it will create a new cookie. I thought I had it fixed yesterday but after a modification by adding the part to check if the file exists, it didnt delete it the next runs. so likes and follows were blocked again. This explains why other browsers do work.
And now Instagram will think you have a new device every few days and will keep an eye on your account. Nobody uses tons of devices for instagram. Delete cookie is the last resort. And a ban is a warning for to many actions. Don’t delete your cookie but adjust your actions
Good point! My actions arent even that high i think. I'll test some more, but 10% follow and like on 250 pictures, is kind of low, no?
Once you are blocked you need to rest your account. What works for me on some test accounts is 48hr min and one week to be sure.
Well, blocked on just instpy but not on app or other browsers, odd no? Anyway, its again blocking. Goes really quick.
I was blocked after 3 likes, after 7 days wait. While in app I can like 40 pics per minute without problem.
Need to figure our how to run this in mobile emulation (see error above)
Lots of Jarvee users (which use mobile emulation) are also having block when they try to follow with the mobile API.
Well, and I am able to like while loged into instagram on safari from my iphone, under the same IP/network, when Instapy is blocked on the PC... So, I think it is still worth exploring. If anyone can help debug this error with mobile emulation - would be great:https://github.com/timgrossmann/InstaPy/issues/4667
After a week working with no issues, again blocked on any platform (local, server, NAS), with chromedriver version published here.
Very disappointing. I must admit that bots are dead for me... Instagram ** DB DP PD.
So after a week’s break (7 full days of absolutely no Instapy usage) and at the speed of 1 like per 3 (THREE) hours. Instapy got banned after 12 likes.
As always, I can like as much as I want from my phone browser and app, under the same wifi.
If that is not the red flag, I don’t know what is :)
With or without headless ?
Without headless. windows laptop as well
Strange. Running 6 accounts 5 follows an hour 40 likes +30 comments an hour and 100 unfollow a day max
I do have to say I have every 12 hours another ip
Do you run 24/7? How fast do you run (delays?) and how long are the sessions?
What environment?
Can you post your autorun example? Thank you!
24/6. Sunday is rest day :-)
No mobile emulation will save instapy, but emulating a normal browser will !
For people who are interested in my alpha testing (worked for some people so far) let me now !
PM me on discord felixbreuer#9641 because I need longterm testers (since my account isn't banned)
@sionking did you give on modifying the chrome-driver to fix that issue?
I sent you a PM on discord @breuerfelix
I have been running my bot for the last 3days without issues with the fix coming https://github.com/timgrossmann/InstaPy/pull/4696
Here are my stats for the last 24h:
just wait for new release guys 👍
I tried solution proposed at #4696 but it does not work, blocked after 40 likes.
After 7 already
And my bot was off for a week
@iam4x Do you do likes/comments at all or just follow-unfollow? with #4696 solution?
@RRphoto and @Tr1pke you still blocked, did not figure it out with latest fixes to #4696 ?
@iam4x Do you do likes/comments at all or just follow-unfollow? with #4696 solution?
@RRphoto and @Tr1pke you still blocked, did not figure it out with latest fixes to #4696 ?
My bot is active again since this morning
its just unpredictable ... i have no idea what can cause bans or no bans
i updated instapy when i started my bot i got this:
We Noticed a New Login, Windows · Chrome · Mycity, Belgium
While running on linux, we will see how long this one lasts
- Like + follow an user
- Unfollow someone that was followed 3 days before
Wow, so 1 to 1 ratio. These are very sick stats. And were you banned for liking (or follow) before applying 4696?
I assume you don't do User-followers method, but working by hashtags?
- Yes I was blocked before like everyone, tried to figure it out with @breuerfelix who found a really smart way to hide chrome with a mitm proxy and now it's working good for me 👏
- It's a bit more complex, I have a db of influencers and I will follow their followers when I match a follower with more than 3 relationships with the influencers I track. Like that I have a really good ratio of follow back:
So @iam4x do you use session.interact_user_followers for your quickstart?
it always gives me either "Failed to load desired amount of users" or "grabbed 0 followers to interact with" message with this build.
What happens in Firefox it gets to the window with "Suggestions" - down to the button of "See all suggestions" (after clicking on someone else followers list) and just gets stuck there
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
If this problem still occurs, please open a new issue
Most helpful comment
No mobile emulation will save instapy, but emulating a normal browser will !
For people who are interested in my alpha testing (worked for some people so far) let me now !
PM me on discord felixbreuer#9641 because I need longterm testers (since my account isn't banned)