Help with scraping component

I’m trying to scrape the word that comes after “Currently owned by” _____________. from https://gymhuntr.com/gym/585c980a7189002f0e40d5c4

My code below scrapes the code off the website. but I cant get the specific word. any ideas?

from config.yaml

  # scrape sensor
  sensor 4:
  platform: scrape
  resource: https://gymhuntr.com/gym/585c980a7189002f0e40d5c4
  select: '.gymbox'
  name: Go Gym Checker

You can’t get the word because it appears to be saved in some css. How to script that? I have no idea.

Maybe something like this?

thanks. I got some help from a different channel. the trick was to find the API

Cough Cough Reddit

1 Like