Scrape data from web page

Good evening! I've been trying to extract data from an HTML page for a week, but I just can't seem to do it...

I need to extract a value, and this is the xpath from Chrome console:

/html/body/section/md-content/div/div/div/div[2]/div[2]/div[2]/div/div/div[3]/label/text()

This is the page code:


The value i need is the "620" in the bottom...

How can i get it?

Now i'm using th HTTP REQUEST node and the HTML node..

Thank you all, Marco.

Try using the fastxml node generate an object from the html content.

[{"id":"9f72ae77a6d5498c","type":"fastxml","z":"a46c1ba8882945f4","name":"","property":"payload","outproperty":"payload","attr":"","chr":"_","x":1058,"y":480,"wires":[["97b9a127797f71bb"]]},{"id":"2c161f4bfe5186d4","type":"http request","z":"a46c1ba8882945f4","name":"","method":"GET","ret":"txt","paytoqs":"ignore","url":"http://google.com","tls":"","persist":false,"proxy":"","insecureHTTPParser":false,"authType":"","senderr":false,"headers":[],"x":863,"y":581,"wires":[["9f72ae77a6d5498c"]]},{"id":"97b9a127797f71bb","type":"debug","z":"a46c1ba8882945f4","name":"debug 1","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1237,"y":384,"wires":[]},{"id":"185b3110769c0fbf","type":"inject","z":"a46c1ba8882945f4","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":645,"y":597,"wires":[["2c161f4bfe5186d4"]]}]

You get something like this:

1 Like