Jump to content

Unable to get HTML source with PHP


Andrei66

Recommended Posts

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. 

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/280136-unable-to-get-html-source-with-php/
Share on other sites

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.