Git Product home page Git Product logo

domain_au_scrapy's Introduction

domain_au_scrapy

What is this

Crawl domain.com.au everyday using scrapy + mongodb + schedule.

  1. It is based on scrapy framework.
  2. It uses mongodb as database.
  3. It uses python schedule to simplely follow a daily routine.
  4. It has been configed friendly to web server since 1 request per second.
  5. It is written in python 3.x.

Get Started

To get started, you need:

  1. A running mongod service on your local(127.0.0.1)
  2. Change the username and password in /domain/MongoCache.py to fit your own case.
  3. For one time crawling, just run:
python3 runner.py

4.For scheduled crawling: open scheduler.py, scroll to the bottom, change parameters in the call to timing_crawl

if __name__ == "__main__":
   timing_crawl(hour, min)

Then,

python3 scheduler.py

About timing

The first crawling takes up 6 hours since there are average 15000+ house on sell on domain.com.au. The followed crawling will take only 1 hour since no need to crawl every detail page.

For what

  • This project is helpful to providing real estate market informations in Sydney for house seekers.
  • it is good data source for data science studying.

Analysis

domain_au_scrapy's People

Contributors

kownse 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.