Hey guys, I feel like im really close to getting this to work but im missing something. Here is my code using the multiscraper because it supports logging in to a page beforehand.
multiscrape:
- resource: 'https://app.smartoilgauge.com/app.php'
scan_interval: 30
form_submit:
submit_once: True
resource: 'https://app.smartoilgauge.com/login.php?logout_first=true'
select: "#inputUsername"
input:
username: "my username here"
password: "My password here"
extra: field
sensor:
- select: '#tankSummary > div.ts_row > div.ts_col.ts_level > div.ts_col_hdr'
name: Oil Test Name
I get an error from my log saying. " Unable to scrape data: Could not find a tag for given selector". I dont know if this is an issue with the login part and its not getting to the correct page afterwards to find the selector or its a problem with the selector itself. Any advice would be helpful. Thanks!