We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Website Web Scrapping by Servicenow

Avishandilay
Tera Contributor

Hi Team,
I need to pull out some data from a website on EOD basis. Can it be done using the ServiceNow? 

1 REPLY 1

vermaamit16
Kilo Patron

Hi @Avishandilay 

 

I could think of the following ways to achieve this :

 

1. Run a PowerShell Mid Server Script file from Mid Server. Inside the PowerShell script, make use of Selenium to do the web scrapping for you and get the result.

2. Run a PowerShell Mid Server Script file from Mid Server and call a Python Script. Inside the Python script, make use of the following modules to do the web scrapping for you and get the result :

  • Requests

  • Beautiful Soup

  • lxml

  • Selenium

3. If you have any REST APIs available to fetch the same data from the website, make use of ServiceNow REST Message to get it.

 

Thanks & Regards

Amit Verma

Thanks and Regards
Amit Verma