Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

有广州的吗 #28

Open
anson2416 opened this issue Aug 2, 2019 · 2 comments
Open

有广州的吗 #28

anson2416 opened this issue Aug 2, 2019 · 2 comments

Comments

@anson2416
Copy link

想了解下怎样添加广州的?

@mengsixing
Copy link
Owner

@anson2416 你好,广州并没有官方的房协网站,但房天下上的信息还挺全的,可以尝试爬取这个网站

具体操作如下:

  • 在 nodeuii 目录下的 config 文件中修改爬取地址。
  • 在 nodeuii/utils/spiderHelper 文件中修改具体爬取的 html 元素,并构建 IhouseData 类型的数据。
  • 修改完成之后,运行 http://localhost:8082/spiderPage 爬取第一页的结果。

@qiufeihong2018
Copy link

@mengsixing 牛逼,我搞一个杭州的试试

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants