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.69k stars 1.47k forks source link

Like hashtags DEBUG - <Response [200]> but not doing it #1219

Open fabriziospadaro opened 4 years ago

fabriziospadaro commented 4 years ago

Hello after providing my credentials correctly I get: INFO - Logged-in successfully as 'xxxxxxx'

Then it gathers the hashtags and starts liking them and i get: DEBUG - <Response [200]>

If I check from Instagram the post that I liked recently there is no new content being liked at all.

91%|█████████ | 78/86 [14:10<01:26, 10.84s/it]2020-01-10 17:11:04,664 - DEBUG - <Response [200]> 2020-01-10 17:11:04,972 - DEBUG - <Response [200]> 2020-01-10 17:11:05,279 - DEBUG - <Response [200]> 92%|█████████▏| 79/86 [14:21<01:16, 10.89s/it]2020-01-10 17:11:15,622 - DEBUG - <Response [200]> 2020-01-10 17:11:15,929 - DEBUG - <Response [200]> 2020-01-10 17:11:16,237 - DEBUG - <Response [200]> 93%|█████████▎| 80/86 [14:32<01:05, 10.91s/it]2020-01-10 17:11:26,511 - DEBUG - <Response [200]> 2020-01-10 17:11:26,767 - DEBUG - <Response [200]> 2020-01-10 17:11:27,002 - DEBUG - <Response [200]> 94%|█████████▍| 81/86 [14:43<00:54, 10.86s/it]2020-01-10 17:11:37,331 - DEBUG - <Response [200]> 2020-01-10 17:11:37,640 - DEBUG - <Response [200]> 2020-01-10 17:11:37,945 - DEBUG - <Response [200]> 95%|█████████▌| 82/86 [14:54<00:43, 10.89s/it]2020-01-10 17:11:48,494 - DEBUG - <Response [200]> 2020-01-10 17:11:48,905 - DEBUG - <Response [200]> 2020-01-10 17:11:49,311 - DEBUG - <Response [200]> 97%|█████████▋| 83/86 [15:05<00:33, 11.03s/it]2020-01-10 17:11:59,610 - DEBUG - <Response [200]> 2020-01-10 17:11:59,963 - DEBUG - <Response [200]> 2020-01-10 17:12:00,269 - DEBUG - <Response [200]> 98%|█████████▊| 84/86 [15:16<00:22, 11.01s/it]2020-01-10 17:12:10,612 - DEBUG - <Response [200]> 2020-01-10 17:12:11,022 - DEBUG - <Response [200]> 2020-01-10 17:12:11,328 - DEBUG - <Response [200]> 99%|█████████▉| 85/86 [15:27<00:11, 11.02s/it]2020-01-10 17:12:21,672 - DEBUG - <Response [200]> 2020-01-10 17:12:21,961 - DEBUG - <Response [200]> 2020-01-10 17:12:22,288 - DEBUG - <Response [200]> 100%|██████████| 86/86 [15:38<00:00, 10.91s/it] 2020-01-10 17:12:32,332 - INFO - DONE: Total liked 0 medias. 2020-01-10 17:12:32,335 - INFO - Total requests: 416

duplicate-issues[bot] commented 4 years ago

Hey @fabriziospadaro,

We did a quick check and this issue looks very darn similar to

This could be a coincidence, but if any of these issues solves your problem then I did a good job :smile:

If not, the maintainers will get to this issue shortly.

Cheers, Your Friendly Neighborhood ProBot

fighterii commented 4 years ago

Actually it says exactly that in your log:

INFO - DONE: Total liked 0 medias. The 200 request is probably a get request for the media before it should like medias (post requests). Actually we could improve debug logging for requests here, but I'm wondering why you don't see info/warning/error about why nothing is liked... Strange

fighterii commented 4 years ago

PR #1223 will provide better debug logging. As soon as it is merged you should try again.

wkitsin commented 4 years ago

I'm actually getting this issue too. It never likes the photos

image

bruvv commented 4 years ago

There is a new update, please run that and report back what the message is. Thanks

zzeesstt commented 4 years ago

up +

bruvv commented 4 years ago

What do you mean? Did you run the newer version and did you get the exact same error ?

wkitsin commented 4 years ago

nope still the same exact error

bruvv commented 4 years ago

Can you confirm that you have downloaded the new version and post the script in correct Markup you're using and including the error ?

Abdulsamipy commented 4 years ago

same problem .. i have updated the bot too ok so this error is only in hashtag option ..everything else is working fine

fighterii commented 4 years ago

Actually there are still no logs from the new version. The new version logs which rest route gives the 200 response code. We need this to investigate further, please provide at least 15 log lines from your execution with the newest bot version (and don't say "same error")

Abdulsamipy commented 4 years ago

The .txt log file has no info in it .. So i copy pasted it from cmd ` 2020-01-16 20:11:46,294 - INFO - Going to like media with hashtag #pewdiepie. Getting hashtag media.: 0it [00:00, ?it/s]2020-01-16 20:11:50,708 - DEBUG - <Response [200]> 2020-01-16 20:11:51,421 - DEBUG - <Response [200]> 2020-01-16 20:11:51,427 - INFO - Going to like 79 medias. 0%| | 0/79 [00:00<?, ?it/s]2020-01-16 20:11:54,260 - DEBUG - <Response [200]> 2020-01-16 20:11:54,706 - DEBUG - <Response [200]> 2020-01-16 20:11:55,208 - DEBUG - <Response [200]> 1%|█ | 1/79 [00:13<17:55, 13.78s/it]2020-01-16 20:12:30,577 - DEBUG - <Response [200]> 2020-01-16 20:12:31,108 - DEBUG - <Response [200]> 2020-01-16 20:12:31,457 - DEBUG - <Response [200]> 3%|██ | 2/79 [00:50<26:20, 20.52s/it]2020-01-16 20:13:29,623 - DEBUG - <Response [200]> 2020-01-16 20:13:30,543 - DEBUG - <Response [200]> 2020-01-16 20:13:30,993 - DEBUG - <Response [200]> 4%|███▏ | 3/79 [01:49<40:49, 32.23s/it]2020-01-16 20:14:39,289 - DEBUG - <Response [200]> 2020-01-16 20:14:40,737 - DEBUG - <Response [200]> 2020-01-16 20:14:41,200 - DEBUG - <Response [200]> 5%|████▏ | 4/79 [02:59<54:31, 43.62s/it]2020-01-16 20:15:46,018 - DEBUG - <Response [200]> 2020-01-16 20:15:46,532 - DEBUG - <Response [200]> 2020-01-16 20:15:47,243 - DEBUG - <Response [200]> 6%|█████▏ | 5/79 [04:05<1:02:05, 50.35s/it]2020-01-16 20:16:21,548 - DEBUG - <Response [200]> 2020-01-16 20:16:21,964 - DEBUG - <Response [200]> 2020-01-16 20:16:22,330 - DEBUG - <Response [200]> 8%|██████▎ | 6/79 [04:40<55:41, 45.77s/it]2020-01-16 20:16:50,812 - DEBUG - <Response [200]> 2020-01-16 20:16:51,762 - DEBUG - <Response [200]> 2020-01-16 20:16:52,265 - DEBUG - <Response [200]> 9%|███████▎ | 7/79 [05:10<49:13, 41.02s/it]2020-01-16 20:18:00,290 - DEBUG - <Response [200]> 2020-01-16 20:18:03,437 - DEBUG - <Response [200]> 2020-01-16 20:18:03,946 - DEBUG - <Response [200]>

Blacklist hashtag found in media, skipping! 10%|████████▍ | 8/79 [06:22<59:25, 50.22s/it]2020-01-16 20:18:28,732 - DEBUG - <Response [200]> 2020-01-16 20:18:29,182 - DEBUG - <Response [200]> 2020-01-16 20:18:29,953 - DEBUG - <Response [200]> 11%|█████████▍ | 9/79 [06:48<50:06, 42.95s/it]2020-01-16 20:19:22,565 - DEBUG - <Response [200]> 2020-01-16 20:19:22,947 - DEBUG - <Response [200]> 2020-01-16 20:19:23,295 - DEBUG - <Response [200]> 13%|██████████▍ | 10/79 [07:41<52:58, 46.07s/it]2020-01-16 20:19:59,036 - DEBUG - <Response [200]> 2020-01-16 20:19:59,411 - DEBUG - <Response [200]> 2020-01-16 20:19:59,879 - DEBUG - <Response [200]> 14%|███████████▍ | 11/79 [08:18<48:59, 43.23s/it]2020-01-16 20:21:02,119 - DEBUG - <Response [200]> 2020-01-16 20:21:02,526 - DEBUG - <Response [200]> 2020-01-16 20:21:02,876 - DEBUG - <Response [200]> 15%|████████████▍ | 12/79 [09:21<54:53, 49.15s/it]2020-01-16 20:22:09,738 - DEBUG - <Response [200]> 2020-01-16 20:22:10,320 - DEBUG - <Response [200]> 2020-01-16 20:22:10,659 - DEBUG - <Response [200]> 16%|█████████████▏ | 13/79 [10:29<1:00:13, 54.74s/it]2020-01-16 20:23:19,915 - DEBUG - <Response [200]> 2020-01-16 20:23:20,478 - DEBUG - <Response [200]> 2020-01-16 20:23:20,806 - DEBUG - <Response [200]> 18%|██████████████▏ | 14/79 [11:39<1:04:18, 59.37s/it]2020-01-16 20:24:08,841 - DEBUG - <Response [200]> 2020-01-16 20:24:09,247 - DEBUG - <Response [200]> 2020-01-16 20:24:09,591 - DEBUG - <Response [200]> 19%|███████████████▌ | 15/79 [12:28<59:56, 56.19s/it]2020-01-16 20:25:19,132 - DEBUG - <Response [200]> 2020-01-16 20:25:19,678 - DEBUG - <Response [200]> 2020-01-16 20:25:20,022 - DEBUG - <Response [200]> 20%|████████████████▏ | 16/79 [13:38<1:03:29, 60.46s/it]2020-01-16 20:26:18,798 - DEBUG - <Response [200]> 2020-01-16 20:26:19,158 - DEBUG - <Response [200]> 2020-01-16 20:26:19,486 - DEBUG - <Response [200]> 22%|█████████████████▏ | 17/79 [14:38<1:02:10, 60.16s/it]2020-01-16 20:27:24,072 - DEBUG - <Response [200]> 2020-01-16 20:27:24,447 - DEBUG - <Response [200]> 2020-01-16 20:27:24,791 - DEBUG - <Response [200]> 23%|██████████████████▏ | 18/79 [15:43<1:02:44, 61.71s/it]2020-01-16 20:27:53,542 - DEBUG - <Response [200]> 2020-01-16 20:27:53,917 - DEBUG - <Response [200]> 2020-01-16 20:27:54,261 - DEBUG - <Response [200]> 24%|███████████████████▋ | 19/79 [16:12<52:02, 52.04s/it]2020-01-16 20:29:00,289 - DEBUG - <Response [200]> 2020-01-16 20:29:00,833 - DEBUG - <Response [200]> 2020-01-16 20:29:01,193 - DEBUG - <Response [200]> 25%|████████████████████▊ | 20/79 [17:19<55:33, 56.50s/it]2020-01-16 20:29:34,848 - DEBUG - <Response [200]> 2020-01-16 20:29:35,231 - DEBUG - <Response [200]> 2020-01-16 20:29:35,591 - DEBUG - <Response [200]> 27%|█████████████████████▊ | 21/79 [17:54<48:12, 49.87s/it]2020-01-16 20:30:41,181 - DEBUG - <Response [200]> 2020-01-16 20:30:41,762 - DEBUG - <Response [200]> 2020-01-16 20:30:42,105 - DEBUG - <Response [200]> 28%|██████████████████████▊ | 22/79 [19:00<52:07, 54.86s/it]

fighterii commented 4 years ago

What is the output from pip3 show instabot Or pip show instabot ? (More specifically: what is the version?)

Abdulsamipy commented 4 years ago

Name: instabot Version: 0.104.0 Summary: Instagram bot scripts for promotion and API python wrapper. Home-page: https://github.com/instagrambot/instabot Author: Daniil Okhlopkov, Evgeny Kemerov Author-email: danokhlopkov@gmail.com, eskemerov@gmail.com License: Apache Software License 2.0 Location: c:\users.....\local\programs\python\python38\lib\site-packages Requires: tqdm, requests, requests-toolbelt, schedule, pysocks, responses, future, six, huepy, pytz Required-by:

fighterii commented 4 years ago

Super strange why there is still the old output even if you have the latest version and the extended logging is part of that code...

Edit: did you check out the github repo by yourself to use the examples? Examples/like_hashtags.py modifies sys.path to import the bot from this location where the example is run (not the pip installed location!) If so - is this folder up-to-date to the current master branch?

fighterii commented 4 years ago

@Abdulsamipy please see my edited post

Abdulsamipy commented 4 years ago

i have reinstalled the instabot-mater.zip(just to make sure everything is up-to-date) and tried to run the bot (Example/multi_script_CLI.py)... ..still the same problem

jhumms commented 4 years ago

I'm having the same issue and I reinstalled it as well. I tried it on both the Like_Example.py and the Ultimate.py example scripts, the like from hashtag isn't working in either.

fighterii commented 4 years ago

Yeah, i believe you that it doesn't work. But for analysis it is crucial that we have the extended logging to figure out what exactly does not work (or does not return the infos we need)... Unfortunately I can't try it out by myself at the moment, I have to rely on someone providing logging to make at least a guess what's not working exactly.

Abdulsamipy commented 4 years ago

is this enough info?

fighterii commented 4 years ago

It's not the amount of failing media likes (1 or 2 will be enough), it's the content of your debug output! This does not contain the newest information. Instead of

2020-01-17 20:49:30,950 - DEBUG - <Response [200]>

There has to be something like

2020-01-17 20:49:30,950 - DEBUG - GET Request to endpoint: /example returned: <Response [200]>

Abdulsamipy commented 4 years ago

so i looked into all log files and can't seem to find anything like

DEBUG - GET Request to endpoint: /example returned: <Response [200]>

jhumms commented 4 years ago

Here's from my log, I let it run for a few hours.

2020-01-16 19:48:16,783 - INFO - LOGIN FLOW! Just logged-in: False 2020-01-16 19:48:21,701 - INFO - Logged-in successfully as '**! 2020-01-16 19:48:21,702 - INFO - ULTIMATE script. Safe to run 24/7! 2020-01-16 20:48:21,879 - INFO - Going to like media with hashtag #like4like. 2020-01-16 20:48:22,277 - INFO - Stats saved at 2020-01-16 20:48:22. 2020-01-16 20:48:25,037 - INFO - Going to like 29 medias. 2020-01-16 20:52:35,207 - ERROR - Request returns 400 error! 2020-01-16 20:52:35,209 - INFO - Instagram's error message: Media not found or unavailable 2020-01-16 20:52:35,210 - INFO - Instagram's error message: {} 2020-01-16 21:02:11,528 - ERROR - Request returns 400 error!

Abdulsamipy commented 4 years ago

so i updated the files and its still the same not liking photos by hashtags bot Example/multi_script_CLI.py

Name: instabot Version: 0.105.0 Summary: Instagram bot scripts for promotion and API python wrapper. Home-page: https://github.com/instagrambot/instabot Author: Daniil Okhlopkov, Evgeny Kemerov Author-email: danokhlopkov@gmail.com, eskemerov@gmail.com License: Apache Software License 2.0 Location: c:\users\lenovo\appdata\local\programs\python\python38\lib\site-packages Requires: tqdm, requests, requests-toolbelt, schedule, pysocks, responses, future, six, huepy, pytz Required-by:

log:


2020-01-20 18:21:28,358 - INFO - Going to like 68 medias. 0%| | 0/68 [00:00<?, ?it/s]2020-01-20 18:21:28,713 - DEBUG - GET to endpoint: media/2225551819367289294_27780149617/info/ returned response: <Response [200]> 2020-01-20 18:21:29,083 - DEBUG - GET to endpoint: media/2225551819367289294_27780149617/info/ returned response: <Response [200]> 2020-01-20 18:21:29,450 - DEBUG - GET to endpoint: media/2225551819367289294_27780149617/comments/ returned response: <Response [200]> 1%|█▉ | 1/68 [00:11<12:23, 11.10s/it]2020-01-20 18:21:40,162 - DEBUG - GET to endpoint: media/2225551783446733573_11941534388/info/ returned response: <Response [200]> 2020-01-20 18:21:40,776 - DEBUG - GET to endpoint: media/2225551783446733573_11941534388/info/ returned response: <Response [200]> 2020-01-20 18:21:41,287 - DEBUG - GET to endpoint: media/2225551783446733573_11941534388/comments/ returned response: <Response [200]> 3%|███▊ | 2/68 [00:22<12:27, 11.32s/it]2020-01-20 18:21:52,142 - DEBUG - GET to endpoint: media/2225551470249841273_22441164564/info/ returned response: <Response [200]> 2020-01-20 18:21:52,856 - DEBUG - GET to endpoint: media/2225551470249841273_22441164564/info/ returned response: <Response [200]> 2020-01-20 18:21:53,627 - DEBUG - GET to endpoint: media/2225551470249841273_22441164564/comments/ returned response: <Response [200]> 4%|█████▊ | 3/68 [00:35<12:35, 11.63s/it]2020-01-20 18:22:04,328 - DEBUG - GET to endpoint: media/2225551411521252818_11941534388/info/ returned response: <Response [200]> 2020-01-20 18:22:05,250 - DEBUG - GET to endpoint: media/2225551411521252818_11941534388/info/ returned response: <Response [200]> 2020-01-20 18:22:05,681 - DEBUG - GET to endpoint: media/2225551411521252818_11941534388/comments/ returned response: <Response [200]>

jhumms commented 4 years ago

Any update on the fix? @fighterii

bruvv commented 4 years ago

@jhumms can you run the development branch? There is a better log options to debug this issue.

jhumms commented 4 years ago

Will do, I'll have the results soon.

wkitsin commented 4 years ago

I think I've found the solution, change this line sys.path.append(os.path.join(sys.path[0], "../")) to sys.path.insert(0,os.path.join(sys.path[0], "../")).

I've raised this issue https://github.com/instagrambot/instabot/issues/1240.

I have the full logs now !

Abdulsamipy commented 4 years ago

so i tried to run ultimate.py .. it'snot liking the post either

here's the log file instabot_1716914682752.log

jhumms commented 4 years ago

@Abdulsamipy that was the one I was running. Which, @fighterii I have the results, but the error log doesn't seem to be much more detailed than the last: 2020-01-21 15:26:52,369 - INFO - Going to like 29 medias. 2020-01-21 15:29:54,409 - ERROR - Request returns 400 error! 2020-01-21 15:29:54,412 - INFO - Instagram's error message: Media not found or unavailable 2020-01-21 15:29:54,414 - INFO - Instagram's error message: {} 2020-01-21 15:37:32,465 - ERROR - Request returns 400 error! 2020-01-21 15:37:32,469 - INFO - Instagram's error message: Media not found or unavailable 2020-01-21 15:37:32,470 - INFO - Instagram's error message: {} 2020-01-21 15:40:55,217 - INFO - DONE: Total liked 0 medias. 2020-01-21 16:26:47,963 - INFO - Going to like media with hashtag #cat. 2020-01-21 16:26:48,611 - INFO - Stats saved at 2020-01-21 16:26:48. 2020-01-21 16:26:53,018 - INFO - Going to like 29 medias. 2020-01-21 16:39:41,527 - INFO - DONE: Total liked 0 medias.

Abdulsamipy commented 4 years ago

hi, guys so i was running the script and today i got a new issue hope this will help figure out the problem bot: Multiscript Objective: Like by hashtags

Capture

Abdulsamipy commented 4 years ago

i am not a expert ..but instagram has changed its HTML ..instapy was able to solve like and comment issue by replacing the path

jhumms commented 4 years ago

any update?

bruvv commented 4 years ago

Still working on it see Dev branch

ElonPark commented 4 years ago

I think check_media() is the problem. If set the parameter check_media = False in` bot.like ', it will work.

Abdulsamipy commented 4 years ago

check_media

so i edited check_media () in bot_like and to "false" in both def like_medias and def like( still not liking the media by hashtag

ElonPark commented 4 years ago

I think check_media () is the problem. If set the parameter check_media = False in` bot.like ', it will work.

I suspect self.api.media_info(media_id) in check_media().

Abdulsamipy commented 4 years ago

I think check_media () is the problem. If set the parameter check_media = False in` bot.like ', it will work.

I suspect self.api.media_info(media_id) in check_media().

Capture im in bot_like.py .. is this it??

ElonPark commented 4 years ago

I tested like this and it works fine.

hashtag_medias = self.bot.get_total_hashtag_medias(hashtag,  amount=90, filtration=False)
hashtag_id = self.hashtag_id(hashtag)
feed_position = 0

for media in hashtag_medias:
    try:
        self.likeBy(feed_position, hashtag, hashtag_id, media)
     except Exception as error:
         print(error)
    finally:
                feed_position += 1

def likeBy(self, hashtag, hashtag_id, media):
    like_result = False
    if self.bot.reached_limit("likes"):
        return like_result

    like_result = self.bot.like(
        media,
        check_media=False,
        container_module='feed_contextual_hashtag',
        feed_position=feed_position,
        hashtag_name=hashtag,
        hashtag_id=hashtag_id
    )
    print("like action: {}".format(like_result))

    return like_result

def hashtag_id(self, hashtag):
    hashtag_id = None
    if self.bot.api.search_tags(hashtag):
        for tag in self.bot.api.last_json["results"]:
            if tag["name"] == hashtag:
                hashtag_id = tag["id"]
                return hashtag_id
        else:
            self.bot.logger.error(
                "Hashtag ID of {} not found within api response".format(
                    hashtag)
            )
            self.bot.logger.debug(
                "Last JSON results: {}".format(
                    self.bot.api.last_json["results"])
            )
            return hashtag_id
Abdulsamipy commented 4 years ago

I tested like this and it works fine.

hashtag_medias = self.bot.get_total_hashtag_medias(hashtag,  amount=90, filtration=False)
hashtag_id = self.hashtag_id(hashtag)
feed_position = 0

for media in hashtag_medias:
    try:
        self.likeBy(feed_position, hashtag, hashtag_id, media)
     except Exception as error:
         print(error)
    finally:
                feed_position += 1

def likeBy(self, hashtag, hashtag_id, media):
    like_result = False
    if self.bot.reached_limit("likes"):
        return like_result

    like_result = self.bot.like(
        media,
        check_media=False,
        container_module='feed_contextual_hashtag',
        feed_position=feed_position,
        hashtag_name=hashtag,
        hashtag_id=hashtag_id
    )
    print("like action: {}".format(like_result))

    return like_result

def hashtag_id(self, hashtag):
    hashtag_id = None
    if self.bot.api.search_tags(hashtag):
        for tag in self.bot.api.last_json["results"]:
            if tag["name"] == hashtag:
                hashtag_id = tag["id"]
                return hashtag_id
        else:
            self.bot.logger.error(
                "Hashtag ID of {} not found within api response".format(
                    hashtag)
            )
            self.bot.logger.debug(
                "Last JSON results: {}".format(
                    self.bot.api.last_json["results"])
            )
            return hashtag_id

pardon me ... can you tell me from which file you copied this set of code. .. cause i can't seem to find the code inside bot_like.py

you can check here: https://github.com/instagrambot/instabot/blob/master/instabot/bot/bot_like.py

ElonPark commented 4 years ago

I tested like this and it works fine.

hashtag_medias = self.bot.get_total_hashtag_medias(hashtag,  amount=90, filtration=False)
hashtag_id = self.hashtag_id(hashtag)
feed_position = 0

for media in hashtag_medias:
    try:
        self.likeBy(feed_position, hashtag, hashtag_id, media)
     except Exception as error:
         print(error)
    finally:
                feed_position += 1

def likeBy(self, hashtag, hashtag_id, media):
    like_result = False
    if self.bot.reached_limit("likes"):
        return like_result

    like_result = self.bot.like(
        media,
        check_media=False,
        container_module='feed_contextual_hashtag',
        feed_position=feed_position,
        hashtag_name=hashtag,
        hashtag_id=hashtag_id
    )
    print("like action: {}".format(like_result))

    return like_result

def hashtag_id(self, hashtag):
    hashtag_id = None
    if self.bot.api.search_tags(hashtag):
        for tag in self.bot.api.last_json["results"]:
            if tag["name"] == hashtag:
                hashtag_id = tag["id"]
                return hashtag_id
        else:
            self.bot.logger.error(
                "Hashtag ID of {} not found within api response".format(
                    hashtag)
            )
            self.bot.logger.debug(
                "Last JSON results: {}".format(
                    self.bot.api.last_json["results"])
            )
            return hashtag_id

pardon me ... can you tell me from which file you copied this set of code. .. cause i can't seem to find the code inside bot_like.py

you can check here: https://github.com/instagrambot/instabot/blob/master/instabot/bot/bot_like.py

oh! sorry this code is in my custom class

Abdulsamipy commented 4 years ago

oh! sorry this code is in my custom class

oh .. is it possible for you to update this custom class to dev branch?

ElonPark commented 4 years ago

oh! sorry this code is in my custom class

oh .. is it possible for you to update this custom class to dev branch?

I am writing test code for you right now.

ElonPark commented 4 years ago

oh! sorry this code is in my custom class

oh .. is it possible for you to update this custom class to dev branch?

@Abdulsamipy please try this https://gist.github.com/ElonPark/43df4fe7df78b0cc013b654cefd2a60c

Abdulsamipy commented 4 years ago

`2020-01-27 17:29:48,521 - DEBUG - GET to endpoint: tags/search/?is_typeahead=true&q=cat&rank_token=27194590479_6cfe777e-001d-4d67-aa62-352e1e261efb returned response: <Response [200]> likeBy() takes 4 positional arguments but 5 were given likeBy() takes 4 positional arguments but 5 were given likeBy() takes 4 positional arguments but 5 were given likeBy() takes 4 positional arguments but 5 were given likeBy() takes 4 positional arguments but 5 were given likeBy() takes 4 positional arguments but 5 were given likeBy() takes 4 positional arguments but 5 were given

likeBy() takes 4 positional arguments but 5 were given 2020-01-27 17:29:48,687 - INFO - Total requests: 31`

ElonPark commented 4 years ago

`2020-01-27 17:29:48,521 - DEBUG - GET to endpoint: tags/search/?is_typeahead=true&q=cat&rank_token=27194590479_6cfe777e-001d-4d67-aa62-352e1e261efb returned response: <Response [200]> likeBy() takes 4 positional arguments but 5 were given likeBy() takes 4 positional arguments but 5 were given likeBy() takes 4 positional arguments but 5 were given likeBy() takes 4 positional arguments but 5 were given likeBy() takes 4 positional arguments but 5 were given likeBy() takes 4 positional arguments but 5 were given likeBy() takes 4 positional arguments but 5 were given

likeBy() takes 4 positional arguments but 5 were given 2020-01-27 17:29:48,687 - INFO - Total requests: 31`

sorry my mistake i fix it https://gist.github.com/ElonPark/43df4fe7df78b0cc013b654cefd2a60c

Abdulsamipy commented 4 years ago

2020-01-27 17 : 29 : 48,521-DEBUG-엔드 포인트로 가져 오기 : tags / search /? is_typeahead = true & q = cat & rank_token = 27194590479_6cfe777e-001d-4d67-aa62-352e1e261efb 반환 응답 : <Response [200]> likeBy () 4 개의 위치 인수를 취하지 만 5는 likeBy ()가 주어짐 5 는 4 개의 위치 인수를 갖지만 5는 likeBy ()가 4 개의 위치 인수를 취했지만 5는 likeBy ()가 4 개의 위치 인수를 취하지 만 5는 likeBy ()가 4의 위치 인수를 취하지 만 5 주어진 likeBy ()을 4 개 위치 인수하지만 소요 5 주어진 likeBy ()을 4 개 위치 인수 걸리지 만 5 주어진 likeBy ()는 4 개의 위치 인수를 취하지 만 5는 2020-01-27 17 : 29 : 48,687을 받았습니다-정보-총 요청 : 31

sorry my mistake i fix it https://gist.github.com/ElonPark/43df4fe7df78b0cc013b654cefd2a60c

GREAT!! ITS WORKING .. can you kindly tell me how can i add this to multi_script_CLI.py

https://github.com/instagrambot/instabot/blob/master/examples/multi_script_CLI.py

ElonPark commented 4 years ago

2020-01-27 17 : 29 : 48,521-DEBUG-엔드 포인트로 가져 오기 : tags / search /? is_typeahead = true & q = cat & rank_token = 27194590479_6cfe777e-001d-4d67-aa62-352e1e261efb 반환 응답 : <Response [200]> likeBy () 4 개의 위치 인수를 취하지 만 5는 likeBy ()가 주어짐 5 는 4 개의 위치 인수를 갖지만 5는 likeBy ()가 4 개의 위치 인수를 취했지만 5는 likeBy ()가 4 개의 위치 인수를 취하지 만 5는 likeBy ()가 4의 위치 인수를 취하지 만 5 주어진 likeBy ()을 4 개 위치 인수하지만 소요 5 주어진 likeBy ()을 4 개 위치 인수 걸리지 만 5 주어진 likeBy ()는 4 개의 위치 인수를 취하지 만 5는 2020-01-27 17 : 29 : 48,687을 받았습니다-정보-총 요청 : 31

sorry my mistake i fix it https://gist.github.com/ElonPark/43df4fe7df78b0cc013b654cefd2a60c

GREAT!! ITS WORKING .. can you kindly tell me how can i add this to multi_script_CLI.py

https://github.com/instagrambot/instabot/blob/master/examples/multi_script_CLI.py

This is a temporary measure to avoid the problem, not the right solution.

Abdulsamipy commented 4 years ago

2020-01-27 17 : 29 : 48,521-DEBUG-엔드 포인트로 가져 오기 : tags / search /? is_typeahead = true & q = cat & rank_token = 27194590479_6cfe777e-001d-4d67-aa62-352e1e261efb 반환 응답 : <Response [200]> likeBy () 4 개의 위치 인수를 취하지 만 5는 likeBy ()가 주어짐 5 는 4 개의 위치 인수를 갖지만 5는 likeBy ()가 4 개의 위치 인수를 취했지만 5는 likeBy ()가 4 개의 위치 인수를 취하지 만 5는 likeBy ()가 4의 위치 인수를 취하지 만 5 주어진 likeBy ()을 4 개 위치 인수하지만 소요 5 주어진 likeBy ()을 4 개 위치 인수 걸리지 만 5 주어진 likeBy ()는 4 개의 위치 인수를 취하지 만 5는 2020-01-27 17 : 29 : 48,687을 받았습니다-정보-총 요청 : 31

sorry my mistake i fix it https://gist.github.com/ElonPark/43df4fe7df78b0cc013b654cefd2a60c

GREAT!! ITS WORKING .. can you kindly tell me how can i add this to multi_script_CLI.py https://github.com/instagrambot/instabot/blob/master/examples/multi_script_CLI.py

This is a temporary measure to avoid the problem, not the right solution.

understood .. thanks alot

bruvv commented 4 years ago

I update the master branch. Please retest