-
Notifications
You must be signed in to change notification settings - Fork 17
Scraping guide
Daniel edited this page Jul 19, 2021
·
3 revisions
For retrieving the CSS selector in order to use it in multiscrape, perform the following steps:
- Load the page in Chrome
- Right-click the value you want to scrape
- Choose ‘Inspect’
- Right-click on the selected line in the html
- Copy → Copy Selector
This is the value you should paste in the ‘select’ field of the sensor.
Note that sometimes Chrome adds a ‘tbody’ element tables in the html which might not be in the original site’s html and therefore not retrieved by multiscrape. In this case, you need to remove those from the select field.
E.g.: table > tbody > tr:nth-child(7) > td:nth-child(2) > font > b
becomes:
table > tr:nth-child(7) > td:nth-child(2) > font > b