Help! How to scrape a hidden input value?

Hi there, I'm interested in scraping some lat/long values from a map on a website. This information is stored in a hidden input

Here the HTML code from the website, I need to scrape the data contained in "value"

   <div id="ubicacion_y_valorizacion" name="ubicacion_y_valorizacion" class="">
   <input type="hidden" id="latitude" value="4.677072048187256" class="">
   <input type="hidden" id="longitude" value="-74.05061340332031">

How can I do It?

Thanks a lot.

Assuming both input tags are child of the div, this should work for latitude:

Type: Element Attribute
Selector: div > input#latitude
Attribute name: value

1 Like

That works. Huge thanks <3