Code Monkey home page Code Monkey logo

rent-house-crawler's Introduction

58租房快速查询

开源的目的只希望能够帮助到真正需要的人,帮你快速找到物美价廉的房子。

我也是租房子的时候,希望快速找到自己觉得不错又物美价廉的房子。但是鉴于58一个界面提供的信息是在太少,于是一次性找个几百条然后通过 filter 过滤后,再去找,效率大增。

Features

  • 快捷租房查询,记录根据条件快速筛选出符合条件的房子。
  • 根据你关心的条件获得匹配的房子链接,还可以自定义filters函数用你的规则过滤。
  • 简单的自定义配置

Screenshots

  • 首先安装依赖
npm install
  • 获取特定地区和经过特定条件筛选后的url,修改config中的url为你复制的地址

get 58 url

  • 执行 npm run start 运行脚本

run screenshot

after filter out

Tools

  • nodejs
  • request - Simplified HTTP request client.
  • cheerio - Fast, flexible & lean implementation of core jQuery designed specifically for the server.

TODO

  • 通过命令行输入条件做到手动复制地址,一键生成地址。
  • 代理切换,验证识别。防止被反爬虫机制检测。
  • ^_^ 懒啊~~

license

MIT

thanks

旧瓶装新酒,算是nodeJS版本的实现之一。

rent-house-crawler's People

Contributors

givingwu avatar

Stargazers

 avatar

Watchers

 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.