Giter Site home page Giter Site logo

storm-cao / 58housesearch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from liguobao/housesearch

0.0 0.0 0.0 90.46 MB

地图搜租房

Home Page: https://house-map.cn

C# 13.21% ASP 0.01% JavaScript 49.88% CSS 27.87% Shell 0.02% HTML 3.44% PowerShell 0.07% Dockerfile 0.05% Python 0.01% Vue 2.81% TSQL 2.65%

58housesearch's Introduction

License: LGPL v3

这是什么?爬虫+高德地图驱动的找租房平台

  • 爬虫全天不间断获取公开租房信息,汇总处理分析后落地到数据库中.

  • 使用高德地图API直接在地图上展示房源位置,方便查看租房地理位置,同时提供住址到公司的路线计算(公交+地图 or 步行导航)以及预估耗时.

  • 通过实时爬虫获取公开租房信息,直接在高德地图上直观展示房源位置+基础信息,同时提供住址到公司的路线计算(公交+地图 or 步行导航),已实现【豆瓣租房小组】、【豆瓣租房小程序】、【Zuber合租】、【蘑菇租房】、【CCB建融家园】、【58同城品牌公寓】、【Hi住租房】、【房多多】、【贝壳租房】、【v2ex租房帖子】、【上海互助租房】等房源信息数据爬取,部分房源价格支持筛选功能。

  • 支持个人收藏房源信息,以便筛选自己合适的房子.

项目代码介绍

  • vue.js 冻爷Erane 已全部完成
  • 基于dotnet core 2.0,使用了 dapper ,RestSharp , Jieba.net...

  • 数据库使用 MySQL, 缓存使用redis

  • Crawler项目为爬虫逻辑,API项目为Web API,逻辑分离

  • CI自动化发布使用Jenkins +Docker(这部分有兴趣可以看下:手把手教你用Jenkins做Docker自动化发布) PS:已废弃,全面改用Gitlab CI + k8s

  • appsetting.json配置和初始化MySQL脚本

appsetting.json配置如下:

    {
    "MySQLConnectionString": "server=mysql地址;port=端口号;database=数据库名字;uid=账号;pwd=密码;charset='utf-8';Allow User Variables=True;Connection Timeout=30;SslMode=None;",
    "RedisConnectionString": "redis数据库地址:端口,name=名字,keepAlive=1800,syncTimeout=10000,connectTimeout=360000,password=访问密码,ssl=False,abortConnect=False,responseTimeout=360000,defaultDatabase=1",
    "EmailAccount": "QQ邮箱账号",
    "EmailPassword": "QQ邮箱密码",
    "EmailSMTPDomain": "smtp.qq.com",
    "EmailSMTPPort": 587,
    "SenderAddress": "QQ邮箱账号",
    "ReceiverAddress": "QQ邮箱账号",
    "ReceiverName": "liguobao-test",
    "EncryptionConfigCIV": "加密向量,16个16进制数字",
    "EncryptionConfigCKEY": "加密秘钥,16个16进制数字"
}

```log
    
数据库初始化脚本:[HouseCrawler.Core/Dump20180512-House-Structure.sql](/HouseCrawler.Core/Dump20180512-House-Structure.sql)

数据库爬虫配置数据:[HouseCrawler.Core/Dump20180512-House-Config.sql](HouseCrawler.Core/Dump20180512-House-Config.sql)

  1. House-Map.Crawler/API(当前维护版本) 所有的API都在这里

  2. House-Map.Crawler/Crawler(当前维护版本) 所有的Crawler都在这里, 通过改变环境变量控制启动那个爬虫

  • dotnet core mvc + 实时爬虫 + 地图定位展示
  • dotnet MVC 4 + 实时爬虫 + 地图定位展示

感谢各位dalao鼎力支持(排名不分前后)

58housesearch's People

Contributors

liguobao avatar erane avatar codeforcsharp avatar piratf 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.