Given remote page:
http://example.com/paged_list.aspx
which uses a Javascript function call to display several pages of tabular data:
javascript: show_page(1) javascript: show_page(2)
and so on. Users click on the page links to display each page, which triggers a reload but with no query string, ie the URI remains the same.
In scraping this site, it would be useful to have a way to obtain subsequent pages but there is no obvious way to specify a page number in the request (passed to file_get_contents()).
Is there any way to:
- Open a remote web address.
- Call a known javascript function at that address.
- Return the results?