Skip to content

WebDriver.__init__() got multiple values for argument 'options' #15

Description

@MarcoAigner

Would be really interested in using the scraper but unfortunately wasn't able to run it so far.

  • Installed using pip install paperscraper@git+https://github.com/NLPatVCU/PaperScraper.git
  • Import from paperscraper import PaperScraper worked fine
  • Initializing the scraper (scraper = PaperScraper()) resulted in the following error:

TypeError Traceback (most recent call last)
Cell In[5], line 1
----> 1 PaperScraper()

File d:\paperscraper\paperscraper\PaperScraper.py:45, in PaperScraper.init(self, webdriver_path)
42 if ('webdriver_path' is not None):
43 self.webdriver_path = webdriver_path
---> 45 self.driver = webdriver.Chrome(webdriver_path, options=options)

TypeError: WebDriver.init() got multiple values for argument 'options'

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