I cannot make heads or tails of this thing.
I have read a lot of the documentation.
https://www.home-assistant.io/integrations/scrape
https://www.crummy.com/software/BeautifulSoup/bs4/doc/#
https://scrapy.org/
https://youtu.be/0yGQ-No6kCg?feature=shared
I have read the various forum posts.
https://community.home-assistant.io/t/the-new-way-to-scrape/499964/35
https://www.smarthomejunkie.net/how-to-scrape-websites-get-actual-energy-prices-in-home-assistant/
https://stackoverflow.com/questions/53521911/scrape-a-tag-with-multiple-attributes
https://community.home-assistant.io/t/solved-sensor-scrape-need-help-with-attribute/112130/2
I have written my own explanations out.
how to find thing:
<tag attribute="
tag = select (word before ' ' [space])
attribute = attribute (without the '=')
'>' use an arrow to move down the tree [you can start at any unique tag (node) regardless of tree indent]
tag:nth-child(integer) = go to the integer number tag and spit that out [usually combined with attribute]
Note1: integer number is usually wrong from inspector (usually a few less).
Note2: will do nothing if there is a attribute and you have not specified it.
Note3: only works with the first attribute in a tag
value_template [how to split]:
'{{ value.split("character(s)_you_want_to_split_on")[1] }}'
The dang thing still doesn't behave the way I expect it to.