# Ajuda sensor Scrape no site GIAE (escolar)

**URL:** <https://forum.cpha.pt/t/ajuda-sensor-scrape-no-site-giae-escolar/9761>\
**Category:** Dúvidas\
**Tags:** hassio\
**Created:** [22 Março , 2022 13:25 UTC](https://forum.cpha.pt/t/ajuda-sensor-scrape-no-site-giae-escolar/9761 "2022-03-22T13:25:40Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![designerferro](https://forum.cpha.pt/user_avatar/forum.cpha.pt/designerferro/32/77_2.png) [@designerferro](https://forum.cpha.pt/u/designerferro)\
**Post date:** [27 Março , 2022 13:15 UTC](https://forum.cpha.pt/t/ajuda-sensor-scrape-no-site-giae-escolar/9761/2 "2022-03-27T13:15:01Z")

</div>

Experimenta dar-lhe com um Regex no resultado em lugar de estares a tentar fazer tudo by the book. HTML é a messy thing. Vê aqui como fiz no JSON dos combustiveis. [Como publicar os preços dos combustíveis no seu Home Assistant - #247 por designerferro](https://forum.cpha.pt/t/como-publicar-os-precos-dos-combustiveis-no-seu-home-assistant/385/247)

---

_[View the full topic](https://forum.cpha.pt/t/ajuda-sensor-scrape-no-site-giae-escolar/9761)._
