-
Notifications
You must be signed in to change notification settings - Fork 1
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
ImportError: No module named local_settings #1
Comments
Thanks a lot! The problem solved after providing the setting file :D There are several more problems I met afterwards: According to 'Step 3: Selenium Webdrivers', the exact path of drivers need to be set in function get_new_browser_driver in automator/main.py. My operation system is macos, I set chrome driver path like this:
Firefox path originally set in:
Is there an need to change this and pass the exact path of geckodriver to the function? And which driver did the project use to drive edge? I only see chromedriver and geckodriver in README. And when running 'python crawler_and_avi.py get_cosi_attacks' in folder automator, It gives me this error:
Do I also need to provide FreeNPremium.py in 'automator\1\Scripts' ? Is there an example of this script? Thanks again for your time! I really appreciates your help :D |
Hi, you have to set the correct path of the browser you want to use. You may need to change the function according to your OS/environment to make it working. Please refer to the selenium documentation for details. For Edge, please check out here. You may download an appropriate driver from here, and pass the executable path to Regarding your second issue, please note that this tool gets as input the so-called You can call your state script file as you wish. An example is here. You should specify what state script the tool should use in the config.
The code is asking for a state script called |
Thanks so much for your help! I successfully run "crawler_and_avi.py" now. But when I
I googled this error and found out it was because mxr source code is no longer available online, so I changed the EFFECTIVE_TLD_NAMES in publicsuffix.py from
Running main.py gives me similar error. So I guess I didn't get the right url for EFFECTIVE_TLD_NAMES. Which url should I use when mxr.mozilla.org is no longer available? Thanks again for all the help you have offered !!! |
How about using |
Hi,
I'm trying to run this project locally, after I cloned the project and ran "python manage.py migrate" in testserver, it gives me this error:
Should this local_settings file be provided by myself? Thanks for your time in advance!
The text was updated successfully, but these errors were encountered: