Jump to content

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.