Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tag! #1

Closed
alex198555 opened this issue Apr 26, 2022 · 8 comments
Closed

Tag! #1

alex198555 opened this issue Apr 26, 2022 · 8 comments

Comments

@alex198555
Copy link

Hi!

How can I enable the script to like and comment by tag?! I tried but it doesn't work:

python instalikecombot.py bob101 b@bpassw0rd1 #haiku -ps "Follow me @Bob101" -c mycomments.txt

PS C:\Users\aorek\Desktop\Python Bots\insta-likecom-bot-master\insta-likecom-bot-master> python instalikecombot.py bob101 b@bpassw0rd1 #haiku -ps "Follow me @Bob101" -c mycomments.txt
usage: instalikecombot.py [-h] [-np NOOFPOSTS] [-ps TEXT] [-c FILE | -nc] [-d DELAY | -cz] username password target
instalikecombot: error: the following arguments are required: target
PS C:\Users\aorek\Desktop\Python Bots\insta-likecom-bot-master\insta-likecom-bot-master>

@shine-jayakumar
Copy link
Owner

The first 3 required parameters are: username, password, and target (in that order). If the parameters aren't separated with a space, you'd see such errors. I copied what you typed and it launches chrome and tries to login.

Also, the username (bob101) and password (b@bpassw0rd1) are used as examples. Use a valid username/password.

Please refer to the documentation.

Thank you.

@alex198555
Copy link
Author

I mean if I type "#haiku" as the target, them the script is not executed and the web browser doesn't go through the posts of the mentioned tag.

@shine-jayakumar
Copy link
Owner

Would you be able to get the error message you get? I just tested for the same tag (#haiku). It worked for me. I am using python 3 on a Windows 10

@alex198555
Copy link
Author

Please, check on the below request:

2022-04-27 11_46_46-Window

@shine-jayakumar
Copy link
Owner

Great! I see the issue. You're using PowerShell and I got the same error while using tags (#travelagent). PowerShell seems to ignore everything that follows a hash (#). You just have to enclose the tagname in quotes like this:

python .\instalikecombot.py username password "#travelagent" -np 20 -d 40 -et 40

If you're using command prompt, you don't have to enclose the tagname (#travelagent) in quotes.

You can also blur the username/password as this issue thread is public.

Thank you

@alex198555
Copy link
Author

Oh. Thanks so much. This issue is fixed and it works.

@shine-jayakumar
Copy link
Owner

Glad to hear that. Thanks for reporting the issue. I will add this in the documentation for PowerShell users.

@alex198555
Copy link
Author

You are welcome and many thanks for the prompt replies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants