alpdias / instagram-bot

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

getting driver error #6

Closed jatin-pahuja closed 4 years ago

jatin-pahuja commented 4 years ago

hello mate i did everything and i am getting this error bot

alpdias commented 4 years ago

Hello, sorry for the delay in the answer, can you show the path you put at the entrance 'way'? It would usually be something like: C:\Users\youruser\Documents\geckodriver\windows (it is not necessary to point the program, only the raw path)

jatin-pahuja commented 4 years ago

yes the path is this only as you can see bot

alpdias commented 4 years ago

Has the program (geckodriver) been unzipped too?

jatin-pahuja commented 4 years ago

i had unzipped it

alpdias commented 4 years ago

If all these steps have been followed I don't know what may be causing this error, what you can do to check together if you have a notion of Python, is to remove the 'try' and 'except' from the execution and let the error show in the terminal for have a more specific view, soon I will be updating the script and creating a more complete check for this error

jatin-pahuja commented 4 years ago

okay friend i will try

alpdias commented 4 years ago

Hello @jatin-pahuja, the error has been corrected, download the code again and try to run again. Now for the program to work correctly you just need to enter the 'geckodriver' folder, choose the folder for your system and unzip the program, without changing any path.

jatin-pahuja commented 4 years ago

Brother it still is the same error but now its not asking for way in configuration its just asking for delay and then login info no way information

alpdias commented 4 years ago

Okay, enter one of the scripts and remove the 'try' and 'except' from the executions, this will show the error more clearly and then show the error here so I can help you

image

kona104 commented 4 years ago

your bot is awesome, easy to use! After I change the following code it works great.

load browser drive in to var and open

try:
    driver = webdriver.Firefox()

but I have another request, sometimes it had a "try again later"pop up box, I need to click confirm. Can you write some script to do it from your bot?

alpdias commented 4 years ago

Thanks for the comment! I'm glad you managed to use it. Put here a print of this part so that I can see it more easily and try to help you, soon I will add new functions to the bot and I can include this too.