Skip to content
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

What is web driver problem? #12

Open
dwk601 opened this issue Jan 3, 2024 · 0 comments
Open

What is web driver problem? #12

dwk601 opened this issue Jan 3, 2024 · 0 comments

Comments

@dwk601
Copy link

dwk601 commented Jan 3, 2024

Exception has occurred: TypeError
WebDriver.init() got an unexpected keyword argument 'executable_path'
File "/home/dongwook/Project/pdf-crawler/crawler/crawl_methods.py", line 119, in load_driver
self.driver = webdriver.Firefox(executable_path=self.executable_path, options=driver_options)
File "/home/dongwook/Project/pdf-crawler/crawler/crawl_methods.py", line 196, in get_hrefs_js_complex
self.load_driver()
File "/home/dongwook/Project/pdf-crawler/crawler/crawler.py", line 82, in get_urls
urls = click_crawler.get_hrefs_js_complex()
File "/home/dongwook/Project/pdf-crawler/crawler/crawler.py", line 69, in crawl
urls = self.get_urls(response)
File "/home/dongwook/Project/pdf-crawler/crawler/init.py", line 57, in crawl
crawler.crawl(url, depth)
File "/home/dongwook/Project/pdf-crawler/tax.py", line 3, in
crawler.crawl(url="https://www.irs.gov/instructions",output_dir="crawling_test",method="rendered-all")
TypeError: WebDriver.init() got an unexpected keyword argument 'executable_path'

do I have to install a driver for this problem? Using Linux Ubuntu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant