Giter Club home page Giter Club logo

londonrelocation's Introduction

scrapy_challenge

This project is part of the job interview for joining Rentola's spiders team. You will need to use this project as the basic structure/template to implement a spider to crawl https://londonrelocation.com/properties-to-rent/.

We are heavily using Python and Scrapy framework in Rentola and thus we are providing the basic structure for your to utilize the same tools to scrap the website.

Your goal is to be able to:

  1. Traverse the areas with their links listed in this page https://londonrelocation.com/properties-to-rent/ such as Fulham, Canary Wharf Angel, and etc. (Already Implemented by us as an example)
  2. Visit each area link and traverse the paginated properties lists (page 1 and page 2 only are sufficient).
  3. Do not hard code the pages links in step2, scrap them from the area page from step1.
  4. For each property you need to save the property title, price per month, and property URL.

The output should be a JSON file with a list of all properties scraped.

Setup Instructions (Ubuntu)

Clone this project into your own Github project and submit the project as a part of your job application.

NOTE: Do not fork the project directly as Github will connect your repo to this repo and will help other candidates to easily cheat and learn from your code.

apt install python3-virtualenv libpython3.8-dev
apt-get install build-essential

Create a virtual env and setup dependencies/requirements:

virtualenv venv -p python3
source venv/bin/activate
pip install -r requirements.txt

Run Scrapy

# Please submit the londonrelocation.json content to us in the application form
scrapy runspider londonrelocation.py -o londonrelocation.json

londonrelocation's People

Contributors

tareksamni avatar omaribrahim991 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.