Skip to content

What is web driver problem? #12

@dwk601

Description

@dwk601

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions