Comments (4)
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
from insta-likecom-bot.
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
from insta-likecom-bot.
You have used single quote around hashtag instead of double quotes, is this a recent change? Also is single quote required around the password?
from insta-likecom-bot.
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.
from insta-likecom-bot.
Related Issues (20)
- Crash Liking Story - [*] => Error: [NoSuchElementException] - Message: no such element: Unable to locate element: {"method":"css selector","selector":"._abx4"}
- Cannot load webdriver for Chrome
- Aborts few seconds after loading Firefox
- Unable To Like And Comment On Stories HOT 1
- Unable to interact with Reels
- Error on run HOT 3
- Doest install requirements HOT 2
- [New Feature] Add the functionality to follow user from a list
- Showing an error HOT 1
- Can I tag people in comments from a list of users? HOT 1
- Not working on windows? HOT 3
- Skip posts/reels already commented - Doesn't work
- An error while running HOT 1
- Macos starting error HOT 1
- Class issue in 3.0.5
- Locator Error on v.05 HOT 3
- 2 factor error without 2 factor activated
- Liking function seems to be not working well HOT 4
- login issues HOT 1
- Driver Download Manager Error]: 'str' object is not callable HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from insta-likecom-bot.