{"id":17137882,"url":"https://github.com/tower1229/crawler","last_synced_at":"2025-10-05T21:48:00.119Z","repository":{"id":89926440,"uuid":"93823538","full_name":"tower1229/crawler","owner":"tower1229","description":"Nodejs crawler for cnbeta.com","archived":false,"fork":false,"pushed_at":"2017-07-15T06:03:24.000Z","size":38,"stargazers_count":19,"open_issues_count":0,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-13T10:01:24.890Z","etag":null,"topics":["crawler","nodejs"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tower1229.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-06-09T05:50:30.000Z","updated_at":"2023-06-12T05:48:12.000Z","dependencies_parsed_at":"2023-05-30T13:30:26.516Z","dependency_job_id":null,"html_url":"https://github.com/tower1229/crawler","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tower1229/crawler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tower1229%2Fcrawler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tower1229%2Fcrawler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tower1229%2Fcrawler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tower1229%2Fcrawler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tower1229","download_url":"https://codeload.github.com/tower1229/crawler/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tower1229%2Fcrawler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278526244,"owners_count":26001325,"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","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["crawler","nodejs"],"created_at":"2024-10-14T20:08:11.288Z","updated_at":"2025-10-05T21:48:00.111Z","avatar_url":"https://github.com/tower1229.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# crawler\n\nNodejs crawler for [cnbeta.com](http://www.cnbeta.com/), The source code is on [Github](https://github.com/tower1229/crawler).\n\n- 用于爬取并保存cnbeta新闻内容及图片\n- 从起始文章开始爬取，异步获取上一篇文章ID并循环爬取\n- 支持爬取总条数限制，默认50条\n- 支持301跳转追踪\n- 仅用于Nodejs学习，无意冒犯\n\n## 使用\n\n- 安装依赖：`npm install`\n- 修改app.js中的`startId`变量为起始文章ID\n- 运行抓取：`node app [limitNumber=50]`\n\n## 示例\n\n- 例如从该篇文章开始爬取`http://www.cnbeta.com/articles/tech/620719.htm`，修改 `startId=\"620719\"`;\n- 执行爬取10条：`node app 10`\n\n![preview](https://raw.githubusercontent.com/tower1229/crawler/master/asset/preview.png)\n\n## 更多\n\u003e [前端路上](http://refined-x.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftower1229%2Fcrawler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftower1229%2Fcrawler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftower1229%2Fcrawler/lists"}