webread doesn't change content after navigation

Hi,
I'm trying to webscrap a real estate listings site which has a lot of pages within its database. It's necessary to use a page navigator do see all the listings (page one shows 20 listings, page two shows another 20, etc). However, when I try to webread the page changing just the number of the page, the function doesn't change it's content (code) at all.
Detailing: The website is this: http://www.vivareal.com.br/venda/rio-grande-do-sul/porto-alegre/#1/{"areaDesde":null}
Which I'm using the webread function:
myURL=['http://www.vivareal.com.br/venda/rio-grande-do-sul/porto-alegre/?',num2str(i),'/{"areaDesde":null}'];
myHTML=webread(myURL);
Where 'i' is the number page inside a loop. The problem is, if I copy and paste this webadress into a browser, the page is loaded correctly, showing different listings for each page number. However, the HTML code doesn't change from the first page. Check the source code and you'll see that it doesn't change from page one to page two. However, that's exactly what I needed Matlab do catch.
I know it's something related to restful queries, although I have not managed to understand it properly. Using R programming it's possible using a Selenium package but I'd like to use Matlab, if possible.
Thanks in advance,

Respuestas (0)

Preguntada:

el 6 de Jun. de 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by