Closed Skuwwy closed 1 year ago
I ran the script for the same tag with the following parameters:
python3 instalikecombot.py -u myusername08 -p 'thisismypassword44' -t '#photography' -np 5 -mt tags.txt -mn 2 -c comments.txt
[*] => Script started
[*] => Loaded comments from comments.txt
[*] => MATCHTAGS: ['#photography', '#photooftheday', '#likeforlikes', '#japanesegirl', '#l4likes', '#l4l', '#spootd', '#runnergirl', '#asiangirls', '#runners', '#WWE', '#AEW', '#NXT', '#gym', '#gymmotivation', '#LiftersSpotted', '#gymtime', '#motivacion', '#motivation', '#training', '#motivationgym', '#fitness', '#fitnessmotivation', '#fit', '#fitnesslife', '#instagram', '#inspiration', '#photography', '#photooftheday', '#gymoutfit', '#outfitoftheday', '#ootd', '#workout', '#workoutmotivation', '#shredded', '#abs', '#deadlifts', '#powerlifting', '#powerlifter', '#aesthetic']
[*] => Match at least: 2 tag(s)
[*] => Downloading webdriver for your version of Chrome
[*] => Initializing instagram user
[*] => Setting target to: #photography
[*] => Attempting to log in with myusername08
[*] => Validating login with xpath: //img[contains(@alt, " profile picture")]
[*] => Login successful
[*] => Opening target #photography
[*] => [open_target]: Attempt - 1
[*] => [target: #photography] No. of posts found: 987052506
[*] => [target: #photography] Checking if #photography 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: #photography] Account not private
[*] => [target: #photography] Opening first post
[*] => [target: #photography] Number of posts to like: 5
[*] => Tags: []
[*] => Irrelavent post
[*] => [target: #photography] Moving on to the next post
[*] => Tags: []
[*] => Irrelavent post
[*] => [target: #photography] Moving on to the next post
[*] => Tags: ['#magazinedesign', '#magazine', '#graphicdesign', '#magazinecover', '#design', '#magazines', '#editorialdesign', '#typography', '#photography', '#graphicdesigner', '#editorial', '#magazineshoot', '#art', '#fashionmagazine', '#layoutdesign', '#fashionphotography', '#fashion', '#illustration', '#branding', '#magazinelayout', '#coverdesign', '#artdirection', '#magazinestreet', '#brochuredesign', '#posterdesign', '#model', '#logodesign', '#magazineeditorial', '#abraxas', '#abraxaslifestyle']
[*] => [target: #photography] Liking post: 1
[*] => [like]: Attempt - 1
[*] => [target: #photography] Comment disabled? No
[*] => [target: #photography] Commenting on the post
[*] => [comment]: Attempt - 1
[*] => [comment]: Attempt - 2
[*] => [target: #photography] Commented: A sass a day keeps the basics away
[*] => [target: #photography] Moving on to the next post
[*] => [target: #photography] Waiting for 1 seconds
[*] => Tags: ['#pic', '#picoftheday📷', '#picture', '#pictureoftheday', '#explore', '#exploremore', '#viralpic', '#viralpost', '#trendingpic', '#photo', '#photoofday', '#photography', '#chudidhar', '#dressing', '#dupatta', '#dupattalove', '#devotional', '#dailydevotion', '#treditional', '#treditionallook❤️', '#saturday', '#saturdayvibes', '#saturdayworkout', '#saturdaybreakfast', '#morningroutine']
[*] => [target: #photography] Liking post: 2
[*] => [like]: Attempt - 1
[*] => [target: #photography] Comment disabled? No
[*] => [target: #photography] Commenting on the post
[*] => [comment]: Attempt - 1
[*] => [comment]: Attempt - 2
[*] => [target: #photography] Commented: Even the stars were jealous of the sparkle in her eyes
[*] => [target: #photography] Moving on to the next post
[*] => [target: #photography] Waiting for 8 seconds
[*] => Tags: ['#photography', '#love', '#naturephotography', '#travelphotography', '#streetphotography', '#people', '#bwphotography', '#moon', '#lifestyle', '#earth', '#life', '#bw', '#sony', '#bnw', '#landscape', '#girls', '#culture', '#summer', '#vacation', '#holiday', '#fun', '#funny', '#portraitphotography', '#sunset', '#beautiful', '#amazing', '#streetstyle']
[*] => [target: #photography] Liking post: 3
[*] => [like]: Attempt - 1
[*] => [target: #photography] Comment disabled? No
[*] => [target: #photography] Commenting on the post
[*] => [comment]: Attempt - 1
[*] => [comment]: Attempt - 2
[*] => [target: #photography] Commented: Stress less and enjoy the best
[*] => [target: #photography] Moving on to the next post
[*] => [target: #photography] Waiting for 3 seconds
[*] => Tags: ['#jannat_e_shimla', '#shimla', '#shimla', '#himachal', '#trending', '#kullu', '#manali', '#dharamshala', '#chamba', '#kinnaur', '#spiti', '#sirmaur', '#una', '#hamirpur', '#bilaspur', '#kangra', '#mandi', '#pahadi', '#shoutout', '#nati', '#uttrakhand', '#adventure', '#snowfall', '#follow4follow', '#like4like', '#dailypost', '#himachali', '#explore', '#photography', '#mountains', '#devbhoomi']
[*] => [target: #photography] Liking post: 4
[*] => [like]: Attempt - 1
[*] => [target: #photography] Comment disabled? No
[*] => [target: #photography] Commenting on the post
[*] => [comment]: Attempt - 1
[*] => [comment]: Attempt - 2
[*] => [target: #photography] Commented: Even the stars were jealous of the sparkle in her eyes
[*] => [target: #photography] Moving on to the next post
[*] => [target: #photography] Waiting for 5 seconds
[*] => Tags: ['#WWE', '#AEW', '#NXT', '#WWENXT', '#NJPW', '#Wrestling', '#LikeForLike', '#follow4follow', '#Like4Like', '#Photography', '#ExplorePage', '#Sports', '#BrockLesnar', '#KennyOmega', '#RomanReigns', '#ChrisJericho', '#DrewMcintyre', '#JohnCena', '#Raw', '#Smackdown', '#AEWDynamite', '#FollowTrain', '#LikeForLikeBack', '#BeckyLynch', '#Charlotte', '#LivMorgan', '#BrayWyatt', '#BryanDanielson', '#RandyOrton', '#ProWrestling']
[*] => [target: #photography] Liking post: 5
[*] => [like]: Attempt - 1
[*] => [target: #photography] Comment disabled? No
[*] => [target: #photography] Commenting on the post
[*] => [comment]: Attempt - 1
[*] => [comment]: Attempt - 2
[*] => [target: #photography] Commented: I’m not high maintenance, you’re just low effort
[*] => [target: #photography] Moving on to the next post
[*] => [target: #photography] Waiting for 5 seconds
[*] => Script finished successfully
[*] => Total time taken: 83.7642 seconds
You have used single quote around hashtag instead of double quotes, is this a recent change? Also is single quote required around the password?
You have used single quote around hashtag instead of double quotes, is this a recent change? Also is single quote required around the password?
Quotes are to be used when passing password or tags as arguments from terminal/command prompt since it may contain characters which have special meaning to the command/shell processor (command prompt/bash terminal etc.). I have used double quotes on Windows and single quotes while working with Linux.
It's possible that a password may contain a single quote. In these cases, you can always choose to put your credentials in a .env file like so:
INSTA_USER = "myusername"
INSTA_PASS = "thismypass'word"
INSTA_TARGET = '#love'
use -le or --loadenv switch to load credentials from .env:
python3 instalikecombot.py -le -np 5 -mt tags.txt -mn 2 -c comments.txt
Okay I think I figured it out, but this may very well not be the cause of the issue. Once it logs in to instagram when the popup appears with "Save login info" and "Not now", I always manually clicking Not now. This time I let the bot do it and it proceeded further without hiccups. Weird but I am glad it works.
Hi, what could be causing this issue and making the bot stop?
Here's the parameters
-u username -p password -t "#photography" -np 120 -mt tags.txt -mn 2 -c mycomments.txt