Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 106354

Help with specific webpage scraping (suddenly stopped working)

$
0
0

Hi there

There are a few webpages I scrape content from, most of which in a simple / quick’n’dirty approach.

A few days ago one of a scraped entity became unavailable (no changes or update of the system involved), and the error message is not very helpful:

Logger: homeassistant.components.rest.data
Source: components/rest/data.py:74
Integration: RESTful ([documentation](https://www.home-assistant.io/integrations/rest), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+rest%22))
First occurred: 5:26:36 PM (10 occurrences)
Last logged: 5:31:47 PM
 * Error fetching data: http://webtv.feratel.com/webtv/?cam=4225&t=3&messwLg=1 failed with

It is a temp. sensor:

sensor:
- platform: scrape
  name: cardada_temp
  resource: http://webtv.feratel.com/webtv/?cam=4220&t=3&messwLg=1
  select: "td"
  index: 19

I tried different approaches, no success. Is there a way to have a better error message? or any hints to have the temp. scraped from that page (the one under “Measured values”)?

thx!

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 106354

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>