Giter VIP home page Giter VIP logo

tree-branch / house Goto Github PK

View Code? Open in Web Editor NEW
226.0 226.0 64.0 192 KB

爬取贝壳找房,链家,安居客,58同城的房源信息,便于广大未买房子的朋友们尽快成为房奴!!!Crawl the house informations of ke.com, lianjia.com, anjvke.com, 58.com (ganji.com after the update), convenient for the majority of friends who did not buy the house as soon as to become the mortgage slave!!!

Python 100.00%

house's People

Contributors

tree-branch avatar xiaosa66 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

house's Issues

请问lianjia 信息 “positionInfo” 中的后半段怎样也加到 villageName 里

如:
<div class="positionInfo"><span class="positionIcon"></span><a href="https://gz.lianjia.com/xiaoqu/2110343238336681/" target="_blank" data-log_index="1" data-el="region">华南新城 </a> - <a href="https://gz.lianjia.com/ershoufang/huananxincheng/" target="_blank">番禺区</a> </div>

原代码:
elif tag == "a" and ("data-el", "region") in attrs:
self.flag.append("villageName")

怎样把后面的 target="_blank" 加上呢。

我新手,可否赐教

ValueError: 数据个数不一致

ValueError: 数据个数不一致:houseName-0,villageName-30,houseNote-30,houseTotlePrice-0,houseUnitPrice-30,houseLink-0,houseImg-30,followNum-30
你好,这个情况是什么原因呢

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.