-
Notifications
You must be signed in to change notification settings - Fork 5
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
NameError: name 'driver' is not defined #13
Comments
How are you running the script? |
I'm running the script from the command line in Ubuntu. Prior to that I was receiving an error message about fake_useragent, but it turned out that I didn't have fake_useragent installed. Once installed, I started receiving this error about 'driver'. I attempted to omit the webdriver path in the logfile, but that didn't correct the error. |
Did you install all the required packages? pip3 install -r requirements.txt Keep in mind you will need to have a Selenium webdriver running on your machine for the script to work. If not, I would suggest to use the Docker image. |
Actually I can replicate this issue on my end. I will look into it. |
Thank you, I appreciate it! To answer your question, all required packages have been installed. I also tried entering /usr/lib/chromium-browser/chromedriver as my webdriver path, but no change. |
You should have another error (most likely from the selenium webdriver) prior to the |
I'd overlooked the first one, but I see it now:
|
The As far as being able to replicate this error, I actually had an issue with my Selenium webdriver instance. Once fixed, the script worked fine. So you should focus on the first error generated. It should be either an issue loading the configuration file or initializing the Selenium webdriver instance in this case. |
Thank you for creating this script!
I have everything installed, but I'm receiving an error when I attempt to execute it:
Any thoughts?
The text was updated successfully, but these errors were encountered: