Fix my existing PYTHON web scraping script which was properly working few months ago

Job ID: 38307657

Budget: ₹600 – ₹1,500 INR

My python script is now started giving below error, may be due to updation in python rules or somethings.

Error showing in CMD while running scraping script:-

driver = webdriver.Firefox(service=Service(FM().install()), capabilities=caps, options=options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: WebDriver.__init__() got an unexpected keyword argument 'capabilities'

-------------------------------------------------------------------------

Status before this error

Few months ago, my python script was working very well in smooth way. I was using it to scrap multiple type of data from URLs, one input spreadsheet contains many urls of any same website at a time and its xpath locations of this website portion in which script is used to run URLs from input file and scrap data of its specified xpath locations then gives these scraped data in separate output file.

In this script, proxy (IP royal) service is used. So, This script was used to fetch data from any website (using one input spreadsheet contains many urls of any same website at a time and its xpath locations of this website portion which used to give one output file of fetched data).

--------------------------------------------------------------------------

If you can totally fix this existing script. Please bid. I will share my python script to you and input spreadsheet(s) is already attached. So, you can check it.
Related categories: PHP Python Web Scraping Data Scraping API