Giter VIP home page Giter VIP logo

apartment's Introduction

链家 乐有家 Q房网 爬虫

Python
以天为单位的保存每套房源信息,目前每天的数据已经很平稳,波动不大,但是也还有很多可以优化的地方;
1.【可伸缩】产品发现与产品析取分为不同的spider(urlspider、contentspider) 【√】
2.【更稳定】增量url池,不以每天房源列表的url为准,因为房源列表有反爬,可能今天爬得到的url,明天就没了,增量url池可以很大程度缓解这个问题,每天维护url池,让数据更稳定分析更准确 【TODO】
3.【更快速】contentspider改为scrapy-redis分布式监听redis,每天url存入redis,分布式的析取房源信息 【TODO】

感兴趣的同学帮忙star点一下,你的star也是我维护升级的动力(star 满50个,升级增量url池)

数据分析维度

1.所有中介房源详细信息
2.近n日降价/涨价房源占总房源数比例
3.近n日降价/涨价房源详细信息
4.近n日7/30日带看次数占总房源数比例
etc...

部分数据及分析展示

【图1】所有中介房源详细信息(这里只展示了部分字段)-广州市番禺区-2018年11月15日(8035条)

image

【图2】降价房源占总房源比例-链家-广州市番禺区-2018年8月底至10月下旬,广州市番禺区二手房降价比例在增加。
例如从8月底到11月15号,广州市番禺区降价房源数量为1802套(图3),15号当天总房源5812套,那么降价比例就是1802/5812=0.31,那么就是三成的房源有降价(降价幅度可另外分析)

image

【图3】近2个半月(2018年8月底至11月15日)降价房源详细信息(这里只展示了部分字段)-链家-广州市番禺区(1802条)

image

【图4】最近一个月近7日带看、30日带看走势-链家-广州市番禺区 ,可以分析出节假日看房的人较多(感觉这个不用分析也能推测出来[哭笑])

image


疑问解答及对数据感兴趣的可以联系笔者
QQ 373119611

apartment's People

Contributors

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