alpdias / instagram-bot

🤖 Python bot to view stories, like and comment on Instagram
GNU General Public License v3.0
81 stars 18 forks source link

command execution error #4

Closed victorcas123 closed 3 years ago

victorcas123 commented 4 years ago

I tried to run the command on my windows 10 cmd and it says: '' '$' is not recognized as an internal command or external, an operable program or a batch file. '' Provides the right command for windows please

alpdias commented 4 years ago

The character '$' only serves to represent a division between the phrase and the code, sorry if I confused you, just run python bot-instagram.py

victorcas123 commented 4 years ago

no problems bro, but still i'm not getting it, i already installed java, geckodriver and modules, but when i execute the command in cmd it says '' python: can't open file 'bot-instagram.py': [ Errno 2] No such file or directory '' can you help me?

alpdias commented 4 years ago

Yes, can you send me a screenshot of the screen where the error occurs?

victorcas123 commented 4 years ago

erro 1

alpdias commented 4 years ago

The problem is occurring because he is not finding the file in the folder, you have to open the terminal inside the folder where the file is, or before bot-instagram.py put the file path. Example: python C: /home/user/bot-instagram-python/bot-instagram.py

victorcas123 commented 4 years ago

right, but the file that is to put is the one you made available for download that is written '' bot-instagram-python-master '' right?

victorcas123 commented 4 years ago

bro, now this is happening, sorry to be bothering you, is that I really am not good with these things and I really need to be able to activate the comment bot erro 2 erro 3

alpdias commented 4 years ago

Try to follow these steps:

place the program folder in your Downloads folder

Open the terminal type: cd C:\Users\your_user_here\Downloads\bot-instagram-python-master\src\

Type: python bot-instagram.py

Basically you have to open the terminal inside the folder that contains the bot-instagram.py file and call it with the python bot-instagram.py command

victorcas123 commented 4 years ago

thank you

victorcas123 commented 4 years ago

bro, other error erro500

alpdias commented 4 years ago

What was placed in the 'way' entrance?

victorcas123 commented 4 years ago

erro 501 only the underline part

alpdias commented 4 years ago

In the 'way' entry you must enter the path to the geckodriver program. Inside the folder you downloaded open the windows folder and unzip the file geckodriver-v0.26.0-win64.zip, then go back to the program and at the entry 'way' put the path to the folder you unzipped, it should look something like this:

C:\Users\your_user_here\Downloads\bot-instagram-python-master\geckodriver\windows\geckodriver-v0.26.0-win64

victorcas123 commented 4 years ago

still giving the same error, and brother, if the way is the geckodriver, how will I choose the publication I want you to comment on? erro 510 erro 511

alpdias commented 4 years ago

The publication is chosen by the 'hastag'. Still showing error?

victorcas123 commented 4 years ago

brother, I got almost everything, but at the last minute of this error,what should I put in the rashtag? erro 150

victorcas123 commented 4 years ago

coincidentally I had already put the url of the publication in the hashtag, however this error in photo 150

alpdias commented 4 years ago

The 'hashtag' is the tag of the photo where the # is used, just put the name of the hashtag, such as: likeforlike

victorcas123 commented 4 years ago

but when the publication has no hashtag? erro 705

alpdias commented 4 years ago

The bot does not have this function, it just searches for hashtag, which is the easiest way to search for grouping images. Were you able to make it work?

victorcas123 commented 4 years ago

I did it, but it was in a random post that had the same hashtag and only commented 1 time

victorcas123 commented 4 years ago

can you put up how many hashtags?

alpdias commented 4 years ago

Just one hashtag at a time, as to comment several times on a photo, is a good idea, even though I hadn't thought about it, and it should be very useful to use in sweepstakes. I can add this function later.

victorcas123 commented 4 years ago

make this improvement please bro, because it falls into any random publication, you cannot select the publication

alpdias commented 3 years ago

Hello friend, a new function was added to make several comments on pictures of the draw !!