pdf-crawler icon indicating copy to clipboard operation
pdf-crawler copied to clipboard

What is web driver problem?

Open dwk601 opened this issue 2 years ago • 0 comments

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

dwk601 avatar Jan 03 '24 02:01 dwk601