Closed Pmtroutok closed 1 year ago
Hi there, please share the logs so I can take a look at it.
Hi @shine-jayakumar
i'm facing the same issue where "like" without commenting works fine but it's stuck if comments enabled
it doesn't even like if executed for Account.
following are the logs when executed for specific tag
command python3 instalikecombot.py --loadenv -br chrome -d 1 -np 3
[*] => Login successful
[*] => Opening target #naruto
[*] => [open_target]: Attempt - 1
[*] => [target: #naruto] No. of posts found: 32943252
[*] => [target: #naruto] Checking if #naruto is a private account
[*] => Failed to find text: This account is private
[*] => Failed to find text: This Account is private
[*] => Failed to find text: This Account is Private
[*] => [target: #naruto] Account not private
[*] => [target: #naruto] Opening first post
[*] => [target: #naruto] Number of posts to like: 10
[*] => [target: #naruto] Liking post: 1
[*] => [like]: Attempt - 1
[*] => [target: #naruto] Comment disabled? No
[*] => [target: #naruto] Commenting on the post
[*] => [comment]: Attempt - 1
[*] => [comment]: Attempt - 2
[*] => [comment]: Attempt - 3
[*] => [comment]: Attempt - 4
[*] => [target: #naruto] Moving on to the next post
[*] => [target: #naruto] Waiting for 1 seconds
[*] => [target: #naruto] Liking post: 2
[*] => [like]: Attempt - 1
[*] => [target: #naruto] Comment disabled? No
[*] => [target: #naruto] Commenting on the post
[*] => [comment]: Attempt - 1
[*] => [comment]: Attempt - 2
[*] => [comment]: Attempt - 3
[*] => [comment]: Attempt - 4
[*] => [target: #naruto] Moving on to the next post
following are the logs when executed for specific account
[*] => Login successful
[*] => Opening target naruto
[*] => [open_target]: Attempt - 1
[*] => [target: naruto] No. of posts found: 1182
[*] => [target: naruto] Checking if naruto is a private account
[*] => Failed to find text: This account is private
[*] => Failed to find text: This Account is private
[*] => Failed to find text: This Account is Private
[*] => [target: naruto] Account not private
[*] => [target: naruto] Opening first post
[*] => [target: naruto] Number of posts to like: 3
[*] => [target: naruto] Liking post: 1
[*] => [like]: Attempt - 1
[*] => [like]: Attempt - 2
[*] => [like]: Attempt - 3
[*] => [like]: Attempt - 4
even tho it's showing "Liking post" in logs for account, browser was just stuck.
Thanks for sharing the logs. I see that Instagram's comment and post button field xpath has changed. This will be updated soon in the script.
Version 2.1 updated:
Please clone the latest version
Thanks! Working fine in Chrome now, but for some reason it's commenting on same post when i tried with firefox. Works for me either way. Here are logs if you require to check
command : " python3 instalikecombot.py --loadenv -br firefox -np 6"
logs:
[*] => Login successful
[*] => Opening target #art
[*] => [open_target]: Attempt - 1
[*] => [target: #art] No. of posts found: 965613991
[*] => [target: #art] Checking if #art is a private account
[*] => Failed to find text: This account is private
[*] => Failed to find text: This Account is private
[*] => Failed to find text: This Account is Private
[*] => [target: #art] Account not private
[*] => [target: #art] Opening first post
[*] => [target: #art] Number of posts to like: 6
[*] => [target: #art] Liking post: 1
[*] => [like]: Attempt - 1
[*] => [target: #art] Comment disabled? Yes
[*] => [target: #art] Moving on to the next post
[*] => [target: #art] Waiting for 4 seconds
[*] => [target: #art] Liking post: 2
[*] => [like]: Attempt - 1
[*] => [target: #art] Comment disabled? No
[*] => [target: #art] Commenting on the post
[*] => [comment]: Attempt - 1
[*] => [comment]: Attempt - 2
[*] => [target: #art] Commented: So perfect ❤️
[*] => [target: #art] Moving on to the next post
[*] => [target: #art] Waiting for 7 seconds
[*] => [target: #art] Liking post: 3
[*] => [like]: Attempt - 1
[*] => [target: #art] Comment disabled? No
[*] => [target: #art] Commenting on the post
[*] => [comment]: Attempt - 1
[*] => [target: #art] Commented: The shocker! 😮
[*] => [target: #art] Moving on to the next post
[*] => [target: #art] Waiting for 5 seconds
[*] => [target: #art] Liking post: 4
[*] => [like]: Attempt - 1
[*] => [target: #art] Comment disabled? No
[*] => [target: #art] Commenting on the post
[*] => [comment]: Attempt - 1
[*] => [target: #art] Commented: Just like that 🔥
[*] => [target: #art] Moving on to the next post
[*] => [target: #art] Waiting for 7 seconds
[*] => [target: #art] Liking post: 5
[*] => [like]: Attempt - 1
[*] => [target: #art] Comment disabled? No
[*] => [target: #art] Commenting on the post
[*] => [comment]: Attempt - 1
[*] => [target: #art] Commented: This is mood ❤️
[*] => [target: #art] Moving on to the next post
[*] => [target: #art] Waiting for 8 seconds
[*] => [target: #art] Liking post: 6
[*] => [like]: Attempt - 1
[*] => [target: #art] Comment disabled? No
[*] => [target: #art] Commenting on the post
[*] => [comment]: Attempt - 1
[*] => [target: #art] Commented: You’re literally unreal 😮
[*] => [target: #art] Moving on to the next post
[*] => [target: #art] Waiting for 4 seconds
[*] => Script finished successfully
[*] => Total time taken: 69.9758 seconds
Here it looks like it's going to next post but it's commenting on same post 6 times. Anyways thanks for fixing it 🔥.
just found it does go to next post in case comments are disabled on first post then doesn't move forward.
Glad that it's working for you. I will check why it isn't working with Firefox
just trys 4 times and skips