Scrapping a website

Describe the problem.
I need to scrape the entire database of a given website (no news here)... the issue is that, first of all, the search results are only displayed when I click in the search button ("Pesquisar"), and are then displayed in the same url

Second, the different pages are also displayed in the same url (that never changes)

The fields I need to get are the ones that are in the first column (and they are also a link) and in the last column (its text)

Any ideas will be welcomed

Url: http://www.impic.pt/impic/pt-pt/consultar/empresas-titulares-de-licenca-de-mediacao-imobiliaria

Sitemap:
Don't even have a clue... sorry