Closed alberdonpi closed 6 years ago
This sounds great! Would you like to make a Pull request?
Sounds nice. Can you update the FULL code and paste it into your repository? Thank you :)
Sure! I’ve been out these days, but I’ll prepare it and upload it next week!
Thanks that would be awesome!
alberdonpi notifications@github.com schrieb am Sa. 9. Juni 2018 um 08:01:
Sure! I’ve been out these days, but I’ll prepare it and upload it next week!
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/instagrambot/instabot/issues/562#issuecomment-395942958, or mute the thread https://github.com/notifications/unsubscribe-auth/Ajqylo-PmV7ohZnEGfNoTpn6jmBEsNKpks5t62TBgaJpZM4UYI5W .
Any updates?
Still waiting. :)
Sorry guys, I’ll do it this week, I got a “checkpint_challenge” problem with one of the accounts and I was implementing the solution to use email and phone codes using the api so it works with proxies also. I’ll upload all the code together.
Sounds nice. I hope you can insert more device settings and update with "get random device" too, so it will choose the device automatically. thanks
@alberdonpi Sorry guys, I’ll do it this week, I got a “checkpint_challenge” problem with one of the accounts and I was implementing the solution to use email and phone codes using the api so it works with proxies also. I’ll upload all the code together.
... and update with "get random device" too, so it will choose the device automatically
I don't think this automatic switching of devices makes sense. Don't you think that Instagram would find that even more suspicious when you switch between devices all the time?
Just did the pull request, is the first time I'm doing one so please tell me if I need to make any changes on it! I will finish the code to fix the "checkpoint_challenge" and test it on my app before creating another merge request.
Please follow the guide below
x
into all the boxes [ ] relevant to your issue (like so [x]).Before submitting an issue, make sure you have:
Purpose of your issue?
For a bug report, you must include the Python version used, code that will reproduce the error, and the error log/traceback.
Paste the output of
python -V
here:Code:
Error/Debug Log:
Describe your issue
After a few months using this project (mostly the API section) I went through multiple issues, from login challenges to spam detections, IP bans, timeouts... I was able to solve most of them thanks to the documentation, issues here and googleing a bit.
My last issue has been being banned from liking from 5 of my 11 accounts I have in my bot. I have to say that I'm not using exactly this bot, but a custom made version, but is 100% based on this code and is also using the original
instabot.api
package, with just a couple of changes to make it Django compatible.After 2 days debuging and trying with new proxies, servers, configurations and so on, I think I found a key part that was making the bot being detected as spam... I can see in
instabot.api.config.py
that theDEVICE_SETTINGS
info is quite outdated, using old instagram api, android and release version. Also when making requests withAPI.send_request()
, the current headers arewhich are also not 100% complete.
Reading about the project, sources and more issues, I can see that two projects are named as sources:
Both of them have been updated recently with new configurations and versions for the user agent and headers. I think it would be nice to:
I suggest to have something like this on the config.py
And update the
API.send_request()
with:This way it will be easier and more flexible to update devices when we found new ones, and also easier to update the requests headers, so we can be up to date and avoid being banned easely.
In summary: These are the changes I made on the project to be able to have all my accounts online and working again:
DEVICE_SETTINGS
info inconfig.py
API.send_request()