hello.
I´m trying to get one specific data from a website but I receive the msg empty. Can someone help me ?
I let here my flow.
[
{
"id": "bd6a2a896ca035da",
"type": "tab",
"label": "Flow 5",
"disabled": false,
"info": "",
"env":
},
{
"id": "d88dd470.0ac7b8",
"type": "inject",
"z": "bd6a2a896ca035da",
"name": "make request",
"props": [
{
"p": "payload",
"v": "",
"vt": "date"
},
{
"p": "topic",
"v": "",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 500,
"y": 280,
"wires": [
[
"874a3d4e.9b666"
]
]
},
{
"id": "874a3d4e.9b666",
"type": "http request",
"z": "bd6a2a896ca035da",
"name": "",
"method": "GET",
"ret": "txt",
"paytoqs": "ignore",
"url": "https://tarifaluzhora.es/",
"tls": "",
"persist": false,
"proxy": "",
"insecureHTTPParser": false,
"authType": "",
"senderr": false,
"headers": ,
"x": 690,
"y": 280,
"wires": [
[
"90243cc1.87edc",
"438ca27a555287c8"
]
]
},
{
"id": "7403c68f.21d7c8",
"type": "debug",
"z": "bd6a2a896ca035da",
"name": "",
"active": true,
"console": "false",
"complete": "false",
"x": 1340,
"y": 280,
"wires":
},
{
"id": "90243cc1.87edc",
"type": "html",
"z": "bd6a2a896ca035da",
"name": "",
"property": "",
"outproperty": "",
"tag": "col-sm-12.sub_text.text--center",
"ret": "attr",
"as": "single",
"x": 1030,
"y": 280,
"wires": [
[
"7403c68f.21d7c8"
]
]
},
{
"id": "438ca27a555287c8",
"type": "debug",
"z": "bd6a2a896ca035da",
"name": "",
"active": true,
"console": "false",
"complete": "false",
"x": 860,
"y": 180,
"wires":
}
]
Perhaps you should explain what you are looking for, as your result is empty, ours will be too.
Here is an example
[{"id":"0ccc963f1de2b66d","type":"inject","z":"da8a6ef0b3c9a5c8","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":120,"y":660,"wires":[["5f25653eb6e92199"]]},{"id":"5f25653eb6e92199","type":"http request","z":"da8a6ef0b3c9a5c8","name":"","method":"GET","ret":"txt","paytoqs":"ignore","url":"https://tarifaluzhora.es/","tls":"","persist":false,"proxy":"","insecureHTTPParser":false,"authType":"","senderr":false,"headers":[],"x":270,"y":660,"wires":[["7e74615199be95f2"]]},{"id":"7e74615199be95f2","type":"html","z":"da8a6ef0b3c9a5c8","name":"","property":"payload","outproperty":"payload","tag":"span.col-sm-12","ret":"text","as":"single","x":500,"y":660,"wires":[["441b83f51eec6037"]]},{"id":"441b83f51eec6037","type":"debug","z":"da8a6ef0b3c9a5c8","name":"debug 116","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":650,"y":660,"wires":[]}]
The selector used
span.col-sm-12
Output
0.18617
€/kWh
Thank you.
Now can you help me to get only the numerical value.
Closing this thread since you opened another thread asking the same thing.