I want to make python crawler and it works in local. But I want to run crawler in regularly so I put my crawler in aws lambda.
I downloaded chromedriver and put somewhere in my directory and I can use it in local server. But in lambda, I don't know how to set the path and upload chromedriver file.
I tried absolute path but it didn't work. Should I upload the chromedriver for lambda function? If so, how can I do?
my code in localhost
chrome_driver_path = "../chromedriver_win32/chromedriver.exe"
driver = webdriver.Chrome(
executable_path = chrome_driver_path,
chrome_options=options
)
URL = "https://*****.co.kr"
driver.get(URL)