We require a PHP class to extract property details for a given page. The PHP class *must* use phpQuery for extraction - we will not accept anything else.
We require the following data to be extracted for each property contained in <div id="results">:
- listing id
- property address
- property price
(example attached data and output attached.)
The class needs to return the above information for all the properties listed on the page.
Additionally, the class also needs to return the next page link:
To be clear, this does not require curl or regex. Simple extraction class using phpQuery only.
The provided page is to be passed to the class to extract the mentioned data. We will later modify and incorporate into existing code - this is a small part of a much larger project.
We will only be looking at bids $40 and below.