Hy guys ... I would like to know if there is any method to get the price from this product...
The link for the product.. Product
Here is my code :
[
{
"id": "90fe156d.97b8e8",
"type": "inject",
"z": "cd02b28.20baf5",
"name": "",
"topic": "",
"payload": "",
"payloadType": "date",
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"x": 140,
"y": 740,
"wires": [
[
"ecae983f.47f5a8"
]
]
},
{
"id": "5c05c01d.dc5cc8",
"type": "html",
"z": "cd02b28.20baf5",
"name": "",
"property": "",
"outproperty": "",
"tag": ".tabs-content",
"ret": "html",
"as": "single",
"x": 460,
"y": 740,
"wires": [
[
"249aa5e1.5b7aa2"
]
]
},
{
"id": "249aa5e1.5b7aa2",
"type": "change",
"z": "cd02b28.20baf5",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "msg.payload[0]",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 680,
"y": 740,
"wires": [
[
"bde8ccfb.b9e438"
]
]
},
{
"id": "bde8ccfb.b9e438",
"type": "switch",
"z": "cd02b28.20baf5",
"name": "",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "cont",
"v": "343",
"vt": "str"
},
{
"t": "else"
}
],
"checkall": "true",
"repair": false,
"outputs": 2,
"x": 850,
"y": 740,
"wires": [
[],
[
"ff823761.4e5a4"
]
]
},
{
"id": "ff823761.4e5a4",
"type": "change",
"z": "cd02b28.20baf5",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "YESS!!!!",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1020,
"y": 740,
"wires": [
[
"55c3909.a1bf6f"
]
]
},
{
"id": "ecae983f.47f5a8",
"type": "https-node",
"z": "cd02b28.20baf5",
"name": "",
"method": "GET",
"ret": "txt",
"url": "https://www.worten.pt/produtos/ar-condicionado-becken-bac2323-24-m2-12000-btu-branco-5723895",
"authorized": false,
"agent": true,
"x": 290,
"y": 740,
"wires": [
[
"5c05c01d.dc5cc8"
]
]
},
{
"id": "55c3909.a1bf6f",
"type": "debug",
"z": "cd02b28.20baf5",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"x": 1210,
"y": 740,
"wires": []
}
]
can any one show me where i'm wrong ?