Website Web Scrapping by Servicenow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2024 08:50 PM
Hi Team,
I need to pull out some data from a website on EOD basis. Can it be done using the ServiceNow?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2024 09:08 PM
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
Please mark this response as correct and helpful if it assisted you with your question.