Hi,
I need to extract text from a web site.
My web site return a text like this.
{“STATUS”: {“STATUS”: “S”, “when”: 1683149271, “Msg”: “stats”, “api_version”: “1.0.0”}, “INFO”: {“miner_version”: “81.0-2.0.0”, “CompileTime”: “Fri Dec 23 18:42:27 CST 2022”, “type”: “Antminer KA3”}, “STATS”: [{“elapsed”: 116615, “rate_5s”: 175042.24, “rate_avg”: 168130.15, “rate_30m”: 168115.27, “rate_ideal”: 168161.28, “rate_unit”: “GH/s”, “chain_num”: 3, “fan_num”: 4, “fan”: [5880, 5160, 5760, 5760], “hwp_total”: 0.0625, “chain”: [{“index”: 0, “freq_avg”: 640, “rate_ideal”: 56053.76, “rate_real”: 56167.32, “asic_num”: 92, “asic”: “ooooooooo oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo ooo”, “temp_pic”: [0, 0], “temp_pcb”: [40, 49], “temp_chip”: [50, 59], “hw”: 4444, “eeprom_loaded”: true, “sn”: “JYZZYPFBCJBJG02XD”}, {“index”: 1, “freq_avg”: 640, “rate_ideal”: 56053.76, “rate_real”: 56071.4, “asic_num”: 92, “asic”: “ooooooooo oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo ooo”, “temp_pic”: [0, 0], “temp_pcb”: [39, 48], “temp_chip”: [49, 58], “hw”: 3851, “eeprom_loaded”: true, “sn”: “JYZZYPFBCJBJG01CH”}, {“index”: 2, “freq_avg”: 640, “rate_ideal”: 56053.76, “rate_real”: 55876.54, “asic_num”: 92, “asic”: “ooooooooo oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo ooo”, “temp_pic”: [0, 0], “temp_pcb”: [40, 48], “temp_chip”: [50, 58], “hw”: 2872, “eeprom_loaded”: true, “sn”: “JYZZYPFBCJBJG016Y”}]}]}
I need to grab text and pass to a json variable and query temperatures.
Who can help me with this?