I would like get data from this webpage through a terminal, the page is http://dondevoto.apps.cl/. Now I want to simulate query for console and save data in text.
I’m interesting get the city.
Any idea ?.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You should be able to access the data directly using a simple get request to the following:
http://hackshackers.cl/fono/servel.php?callback=?&rut=insert_here
Replace [insert_here] with the rut. It appears it will return JSON. You can use Wget or Curl to save the result.
Note: I pulled this from http://dondevoto.apps.cl/js/app.js, which shows how the website actually works.