Andrei66 Posted July 13, 2013 Share Posted July 13, 2013 I'm quite new to PHP and I'm having big trouble getting the HTML source of a page. Here is the page : http://www.fisheriessupply.com/3m. After I take the HTML source of this one I want to take also the HTML sources of the next pages of results because as you can see there are 20 more pages. If I click the next button the url does not change and I don't know how this might be done as I am only used to get the source by having the link. Quote Link to comment https://forums.phpfreaks.com/topic/280136-unable-to-get-html-source-with-php/ Share on other sites More sharing options...
trq Posted July 13, 2013 Share Posted July 13, 2013 This entire page is loaded via Javascipt postbacks. The reason it is done this way is so as to make it difficult for people like you to scrape the site for data. I would suggest you contact the site owners and see if they have an API available. Otherwise, your in for some real headaches I'm afraid. Quote Link to comment https://forums.phpfreaks.com/topic/280136-unable-to-get-html-source-with-php/#findComment-1440650 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.