{"id":17769932,"url":"https://github.com/jayin/goods-crawling","last_synced_at":"2025-03-15T14:30:55.495Z","repository":{"id":74006531,"uuid":"66946325","full_name":"Jayin/goods-crawling","owner":"Jayin","description":"爬取amazon/bestbuy/costco/6pm 的商品详情","archived":false,"fork":false,"pushed_at":"2017-02-13T06:48:17.000Z","size":174,"stargazers_count":10,"open_issues_count":1,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-27T03:11:22.217Z","etag":null,"topics":["amazon","crawler","node"],"latest_commit_sha":null,"homepage":"","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/Jayin.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-08-30T14:06:57.000Z","updated_at":"2024-10-22T19:49:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"f152d73b-4e61-4846-9113-e2cb3c242068","html_url":"https://github.com/Jayin/goods-crawling","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/Jayin%2Fgoods-crawling","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jayin%2Fgoods-crawling/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jayin%2Fgoods-crawling/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jayin%2Fgoods-crawling/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jayin","download_url":"https://codeload.github.com/Jayin/goods-crawling/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243742733,"owners_count":20340694,"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":["amazon","crawler","node"],"created_at":"2024-10-26T21:19:41.679Z","updated_at":"2025-03-15T14:30:55.489Z","avatar_url":"https://github.com/Jayin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## goods-crawling [![Version](https://img.shields.io/npm/v/goods-crawling.svg)](https://www.npmjs.com/package/goods-crawling)\n\u003e 爬取amazon/bestbuy/costco/6pm 的商品详情 \n\n### Setup\n\n```\n$ npm install\n```\n\n### Test\n\n- amazon.com\n```\n$ node ./test/amazon.js\n```\n\n- bestbuy.com\n```\n$ node ./test/bestbuy.js\n```\n\n- 6pm.com\n```\n$ node ./test/sixpm.js\n```\n\n- costco.com\n```\n$ node ./test/costco.js\n```\n\n- function testing\n\n```\n$ node ./test/test.js\n```\n\n### Usage\n\n```js\nconst {fetchGoodsData} = require('goods-crawling');\n\n\nlet url = 'https://www.amazon.com/Nike-Rosherun-Black-Anthracite-Running/dp/B00BOR6I68/ref=sr_1_2?ie=UTF8\u0026qid=1472541714\u0026sr=8-2\u0026keywords=nike';\n\nfetchGoodsData(url, {}, function(err, data){\n    if(err){\n        console.err(\"Error:\" + err)\n        return\n    }\n    console.log(data)\n});\n\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjayin%2Fgoods-crawling","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjayin%2Fgoods-crawling","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjayin%2Fgoods-crawling/lists"}