linkedin_scraper
linkedin_scraper copied to clipboard
Path for selenium
Hey can someone walk through this step?
Where does this go?
export CHROMEDRIVER=~/chromedriver
This looks like it needs to be entered into the terminal or a "output to Linux" type event.
Can you be more specific as to where you got this or what step this refers to?
It comes from the "Set Up" step. I'm using a Mac
- Find what chrome version you have installed on your computer.
- Go to https://pypi.org/project/chromedriver-py/#history and install the same version of chromedriver
- And then
from selenium import webdriver
import chromedriver_binary
driver = webdriver.Chrome()
P.S. I think you have to pip install chromedriver_binary --no-cache-dir