{"id":13393386,"url":"https://github.com/ReedD/crawler","last_synced_at":"2025-03-13T19:31:34.164Z","repository":{"id":65709958,"uuid":"100831802","full_name":"ReedD/crawler","owner":"ReedD","description":"Chromium / Puppeteer site crawler","archived":false,"fork":false,"pushed_at":"2020-03-30T02:58:20.000Z","size":31,"stargazers_count":48,"open_issues_count":0,"forks_count":5,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-10-26T18:29:56.849Z","etag":null,"topics":["bot","chromium","crawler","puppeteer","redis","scraper"],"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/ReedD.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}},"created_at":"2017-08-20T01:48:54.000Z","updated_at":"2024-01-24T08:34:11.000Z","dependencies_parsed_at":"2023-02-06T00:25:10.309Z","dependency_job_id":null,"html_url":"https://github.com/ReedD/crawler","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/ReedD%2Fcrawler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReedD%2Fcrawler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReedD%2Fcrawler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReedD%2Fcrawler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ReedD","download_url":"https://codeload.github.com/ReedD/crawler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243469164,"owners_count":20295699,"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":["bot","chromium","crawler","puppeteer","redis","scraper"],"created_at":"2024-07-30T17:00:51.584Z","updated_at":"2025-03-13T19:31:33.741Z","avatar_url":"https://github.com/ReedD.png","language":"JavaScript","funding_links":[],"categories":["Opensource projects","JavaScript","渲染和网页抓取","Rendering and web scraping"],"sub_categories":["贡献"],"readme":"# Chromium / [Puppeteer](https://github.com/GoogleChrome/puppeteer) site crawler\n\n[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)\n\nThis crawler does a BFS starting from a given site entry point. It will not leave the entry point domain and it will not crawl a page more than once. Given a shared redis host/cluster this crawler can be distributed across multiple machines or processes. Discovered pages will be stored in mongo collection, each with a url, outbound urls, and a radius from the origin.\n\n## Installation\n```\nyarn\n```\n\n## Usage\n### Basic\n```bash\n./crawl -u https://www.dadoune.com\n```\n### Distributed\n```bash\n# Terminal 1\n./crawl -u https://www.dadoune.com\n```\n\n```bash\n# Terminal 2\n./crawl -r\n```\n### Debug\n```bash\nDEBUG=crawler:* ./crawl -u https://www.dadoune.com\n```\n\n### Options\n- `--maxRadius` or `-m` the maximum link depth the crawler will explore from the entry url.\n- `--resume` or `-r` to resume crawling after prematurely exiting a process or to add additional crawlers to an existing crawl.\n- `--url` or `-u` the entry point URL to kick the crawler off.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FReedD%2Fcrawler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FReedD%2Fcrawler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FReedD%2Fcrawler/lists"}