Spider to crawl autotrader.co.uk

IN PROGRESS
Bids
8
Avg Bid (USD)
$99
Project Budget (USD)
$30 - $250

Project Description:
Create a python class with the following interface.

class AutoTraderSpider(object):

def __init__(self, start_url):
pass

def __iter__(self):
return self

def next():
"""Returns next advert
""""

Parameter "start_url" is a uri such as:
http://www.autotrader.co.uk/search/used/cars/postcode/w60hr/radius/100/sort/default/onesearchad/used%2Cnearlynew%2Cnew

Fetching url will return zero or more adverts on one or more pages.

Iteration over the object returns the details of the individual adverts as a dict or object. Each result object provides the following information:

title:
url: The url that refers to the advert
price: price of the vehicle
mileage: mileage of the vehicle
transmission: Manual, Automatic, etc.
engine_size
fuel: Petrol, Diesel, etc.
advertType: Trader or Private
distance
year
registration
bodystyle

It might be necessary to follow the link to the the individual adverts to retrieve all this information. If so then it should be possible to control this behaviour by means of a boolean flag to the AutoTraderSpider constructor.

Skills required:
Python, Web Scraping
Hire santegoeds
Project posted by:
santegoeds United Kingdom
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


Hire ashok7925
$ 55
in 1 days
$ 50
in 1 days
$ 100
in 4 days
Hire ricardofranco
$ 45
in 1 days
$ 100
in 1 days
Hire parthiborn2win
$ 150
in 3 days
$ 150
in 3 days
Hire M6rn90QFH
$ 140
in 1 days