ohld / igbot

🐙 Free scripts, bots and Python API wrapper. Get free followers with our auto like, auto follow and other scripts!
https://hikerapi.com/p/N2P6iqiM
Apache License 2.0
4.71k stars 1.47k forks source link

Instabot fails when liking hashtags and timelines #887

Closed keithhill3 closed 5 years ago

keithhill3 commented 5 years ago

Before submitting an issue, make sure you have:

Purpose of your issue?


instabot version

Kxxxx-MBP:~ xxxx$ python3 -m pip install -U instabot Requirement already up-to-date: instabot in /usr/local/lib/python3.7/site-packages (0.36.0)

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:

Kxxxx-MBP:~ xxxxx$ python3 -V
Python 3.7.2
Kxxxx-MBP:~ xxxx$ 

instabot version Code: from schedule script.

def like_hashtags():
    bot.like_hashtag(random_hashtag_file.random(), amount=700 // 24)

def like_timeline():
    bot.like_timeline(amount=300 // 24)

from config.py

 HASHTAGS_FILE = "hashtag_database.txt"
# The file containing hashtags you want to track: the bot will like and comment
# photos and follow users using the hashtags in this file

USERS_FILE = "username_database.txt"
# Same as HASHTAGS_FILE, but with users. The bot will follow those users'
# followers and like their posts

each of these files has simple list of known hashtags and accounts (this has been validated against insta)

Error/Debug Log:

2019-05-04 22:50:54,472 - INFO - Going to like media with hashtag #-----------.
Getting hashtag media.:   0%|                                                                                                                                                        | 0/29 [00:00<?, ?it/s]2019-05-04 22:50:54,525 - WARNING - HTTPSConnectionPool(host='i.instagram.com', port=443): Max retries exceeded with url: /api/v1/users/----------/usernameinfo/ (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x102d2a0b8>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known'))
2019-05-04 22:50:54,525 - WARNING - HTTPSConnectionPool(host='i.instagram.com', port=443): Max retries exceeded with url: /api/v1/feed/timeline/ (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x102d2ae80>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known'))
2019-05-04 22:50:54,525 - WARNING - HTTPSConnectionPool(host='i.instagram.com', port=443): Max retries exceeded with url: /api/v1/feed/tag/----------/?max_id=&rank_token=1751486002_70925994-8984-46f0-aab4-3d966e6ee769&ranked_content=true& (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x102dc7470>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known'))
2019-05-04 22:50:54,525 - WARNING - Error while getting timeline feed.

2019-05-05 04:53:37,126 - ERROR - Error checking for `feedback_required`, response text is not JSON

Describe your issue

When running instabot , its working as expected until it likes a timeline or hashag. I know that the accounts and hashtags are valid, also I have discounted internet issues as the bot runs perfectly fine except them liking timeline and hashtags. I have been using older versions of instabot and had no issues with timeline and hashtags before.

I am also seeing the error "feedback_required." I read that is insta searching for Bots ?

thanks

keithhill3 commented 5 years ago

Each tested on its own runs and works fine, when running concurrently, I get a number of failures. I will investigate further and raise a new ticket if I can find a root cause .