There is a simple html page that I would like to scrape a number from but can’t get it to work. The number I want to scrape is 8 after “player_count” in the html below.
Any ideas how I can scrape this? Below is my current config which doesn’t work. Also the resource link posted here doesn’t work since I don’t want to expose my personal key in it.
-
platform: scrape
name: War Dust spelare online test
resource: http://api.steampowered.com/ISteamUserStats/GetNumberOfCurrentPlayers/v1/?key=?&appid=957790
select: “body > pre”
scan_interval: 300
unit_of_measurement: “Spelare”