Open demaico opened 4 years ago
Did you install the web driver for the browser you're trying to use? Also, make sure it is added to your path
It is installed at /usr/local/bin (mac)
Which driver are you using? The chromedriver or geckodriver?
The chromedriver
When you type chromedriver --version
, What's the output?
Ohh wait, it's an issue with my code! I'm sorry! Fixing it ASAP!
Alright, I fixed it! I'm very sorry about the inconvenience. Please try now and tell me if it works or not. Thank you!
It opened a window for a second but got error again, video here error.zip
As you can see from: the chrome driver doesn't support your chrome version. Try to update the version of your chrome browser to a compatible version
I've got the newest, but installed the previous driver that works on this version and I have this error
Alright, I updated the script. Please update it and try again and tell me if it works or not. I'm very sorry for the inconvenience...
It's just a test I'm doing the site will be http://maetrimal.com/40Vf
Still error
Did you update the script? I tried it with your url and it worked completely fine for me. Also, may I see the error?
yes I downloaded the new version and used it
Did you update the whole thing? Because the main.py isn't the file that got updated
I did the pip install again but donno if that's what you meant
That doesn't update the files. You have to redownload the repository
I reinstalled everything and have this going on
Last login: Mon Mar 23 00:00:07 on ttys001
Maicos-MacBook-Pro:~ maicovandenbossche$ ls
Applications Documents Movies Pictures PycharmProjects bypy sherlock
Creative Cloud Files Downloads Music Projects Untitled.txt geckodriver.log
Desktop Library Parallels Public VirtualBox VMs mamp
Maicos-MacBook-Pro:~ maicovandenbossche$ cd bypy
Maicos-MacBook-Pro:bypy maicovandenbossche$ ls
README.md main.py requirements.txt src
Maicos-MacBook-Pro:bypy maicovandenbossche$ pyhton3 main.py http://maetrimal.com/40Vf
-bash: pyhton3: command not found
Maicos-MacBook-Pro:bypy maicovandenbossche$ python3 main.py http://maetrimal.com/40Vf
Traceback (most recent call last):
File "main.py", line 2, in
Option: 2
Traceback (most recent call last):
File "main.py", line 39, in
May I see the code of your installed file in bypy/src/query.py
?
Hmm... that is very odd... it works totally fine for me. Even with the exact same url you are trying to bypass...
weird, unfortunate
Option: 2 Traceback (most recent call last): File "/Users/maicovandenbossche/Downloads/bypy-master/main.py", line 40, in
main(sys.argv[1])
File "/Users/maicovandenbossche/Downloads/bypy-master/main.py", line 37, in main
Query.ch(link)
File "/Users/maicovandenbossche/Downloads/bypy-master/src/query.py", line 24, in ch
driver = webdriver.Firefox()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/selenium/webdriver/firefox/webdriver.py", line 174, in init
keep_alive=True)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 157, in init
self.start_session(capabilities, browser_profile)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: Unable to find a matching set of capabilities