PHP code to scrape product details from website
- or -
Post a project like this4088
$50
- Posted:
- Proposals: 7
- Remote
- #212482
- Awarded
Description
Experience Level: Intermediate
I need a function coding in PHP that will scrape content from a single website and extract product details.
The code needs to:
1. Download html from the main url and extract from listitem tags a list the category urls
2. For each category URL download the html and extract from a select tag the list of sub category URLs
3. For each sub category URL download the html and extract the Product URL
4. For each product URL download the html and store the product details in an array and print to stdout
The details that need extracting for each product are:
Name, URL, Category, Sizes, Colour, Price, Description, Image1URL, Image2URL
The code needs to:
1. Download html from the main url and extract from listitem tags a list the category urls
2. For each category URL download the html and extract from a select tag the list of sub category URLs
3. For each sub category URL download the html and extract the Product URL
4. For each product URL download the html and store the product details in an array and print to stdout
The details that need extracting for each product are:
Name, URL, Category, Sizes, Colour, Price, Description, Image1URL, Image2URL
Mike H.
100% (2)Projects Completed
2
Freelancers worked with
2
Projects awarded
100%
Last project
22 Feb 2013
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies