Upload and manipulate a form from an external website

Asked

Viewed 67 times

2

Hello, I need to embed this site on my site: https://geoobras.tce.mg.gov.br/cidadao/ so that the person can make the consultation for him.

Using iframe works well, however I needed to manipulate the first field (municipality) to be fixed in one of the options.

Another thing I wanted to do would also reduce the amount of information that appears, but I can not cut using cut css and not put negative margins in iframe, because the second page (the one that appears after the user submits the form) is larger than the first, so if I cut the iframe I cut information from the second page.

What I want to do is possible? Can someone give me a light?

<iframe src="https://geoobras.tce.mg.gov.br/cidadao/" style="width: 100%; height:100%;" frameborder="0" scrolling="no"> </iframe>

My site is made in php, from what I saw on geoworks, the form leads to default.aspx

  • There is no API that does the query you need?

  • There is, unfortunately, no :(

  • Have you checked if they offer an API? some script for inclusion?

  • Hello @Flávianunes you can do something kind of complicated however it will work, use scrapy or Selenium in python or use guzzle in php, to do the following, you mount your page and on your page you put the fields that you really want the user to type, after that, on your server you treat, and send to some of the one I spoke and they make the query on the page and returns the information to you. gives a search on the subject that will download enough content. this is clear if there is no ready api.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.