{"id":25234388,"url":"https://github.com/zj-john/housecrawler","last_synced_at":"2025-04-05T17:17:13.577Z","repository":{"id":88671391,"uuid":"123548918","full_name":"zj-john/houseCrawler","owner":"zj-john","description":"爬取网站房产数据","archived":false,"fork":false,"pushed_at":"2024-01-08T07:56:41.000Z","size":9455,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-11T13:59:24.543Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zj-john.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-03-02T07:59:10.000Z","updated_at":"2023-12-21T11:44:27.000Z","dependencies_parsed_at":"2023-12-31T05:22:46.847Z","dependency_job_id":"31ac9367-704f-4100-a272-e31a409d086e","html_url":"https://github.com/zj-john/houseCrawler","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zj-john%2FhouseCrawler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zj-john%2FhouseCrawler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zj-john%2FhouseCrawler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zj-john%2FhouseCrawler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zj-john","download_url":"https://codeload.github.com/zj-john/houseCrawler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247369953,"owners_count":20927928,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-11T13:59:27.476Z","updated_at":"2025-04-05T17:17:13.534Z","avatar_url":"https://github.com/zj-john.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# houseCrawler\n爬取房天下网站房型、房价数据的爬虫\n\n## 运行步骤：  \n前提：已安装node.js。\n1. npm install\n2. 修改db.js中的数据库配置文件\n3. 打开数据库工具，导入create.sql\n4. 爬取二手房数据\n```\nnode fangtianxia_old.js\n```\n5. 爬取新房数据\n```\nnode fangtianxia_new.js\n```\n\n## 结果\n运行完成后，结果保存在数据库中，可以自行导出为excel文件中\n\n## 后续计划\n* 针对反爬，检测到获取不到数据（需要输入验证码的页面），记录报错url\n* 爬取完成后，针对报错url进行二次爬取\n* 全部爬取完成后，导出为excel文件\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzj-john%2Fhousecrawler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzj-john%2Fhousecrawler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzj-john%2Fhousecrawler/lists"}