{"id":19398051,"url":"https://github.com/piedweb/crawler","last_synced_at":"2025-08-24T09:46:41.023Z","repository":{"id":64794852,"uuid":"578291620","full_name":"PiedWeb/crawler","owner":"PiedWeb","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-08T09:46:22.000Z","size":51,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-10-08T13:43:49.701Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PiedWeb.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}},"created_at":"2022-12-14T17:52:50.000Z","updated_at":"2024-10-08T09:46:26.000Z","dependencies_parsed_at":"2023-02-01T07:01:20.555Z","dependency_job_id":"c8bd35b2-3e49-4690-8c5c-a4f4e38df368","html_url":"https://github.com/PiedWeb/crawler","commit_stats":{"total_commits":9,"total_committers":2,"mean_commits":4.5,"dds":"0.11111111111111116","last_synced_commit":"4966fbec8822c9bd076634bef395bd151dc78219"},"previous_names":[],"tags_count":74,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiedWeb%2Fcrawler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiedWeb%2Fcrawler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiedWeb%2Fcrawler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiedWeb%2Fcrawler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PiedWeb","download_url":"https://codeload.github.com/PiedWeb/crawler/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250572294,"owners_count":21452327,"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":"2024-11-10T11:04:46.393Z","updated_at":"2025-04-24T05:31:19.598Z","avatar_url":"https://github.com/PiedWeb.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003ca href=\"https://dev.piedweb.com\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/PiedWeb/piedweb-devoluix-theme/master/src/img/logo_title.png\" width=\"200\" height=\"200\" alt=\"Open Source Package\" /\u003e\n\u003c/a\u003e\u003c/p\u003e\n\n# CLI Seo Pocket Crawler\n\n[![Latest Version](https://img.shields.io/github/tag/PiedWeb/Crawler.svg?style=flat\u0026label=release)](https://github.com/PiedWeb/Crawler/tags)\n[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat)](LICENSE)\n[![GitHub Tests Action Status](https://img.shields.io/github/workflow/status/PiedWeb/Crawler/Tests?label=tests)](https://github.com/PiedWeb/PiedWeb/actions)\n[![Quality Score](https://img.shields.io/scrutinizer/g/PiedWeb/PiedWeb.svg?style=flat)](https://scrutinizer-ci.com/g/PiedWeb/PiedWeb)\n[![Code Coverage](https://codecov.io/gh/PiedWeb/PiedWeb/branch/main/graph/badge.svg)](https://codecov.io/gh/PiedWeb/PiedWeb/branch/main)\n[![Type Coverage](https://shepherd.dev/github/PiedWeb/PiedWeb/coverage.svg)](https://shepherd.dev/github/PiedWeb/PiedWeb)\n[![Total Downloads](https://img.shields.io/packagist/dt/piedweb/crawler.svg?style=flat)](https://packagist.org/packages/piedweb/crawler)\n\nWeb Crawler to check few SEO basics.\n\nUse the collected data in your favorite spreadsheet software or retrieve them via your favorite language.\n\nFrench documentation available :\nhttps://piedweb.com/seo/crawler\n\n## Install\n\nVia [Packagist](https://img.shields.io/packagist/dt/piedweb/crawler.svg?style=flat)\n\n```bash\n$ composer create-project piedweb/crawler\n```\n\n## Usage\n\n### Crawler CLI\n\n```bash\n$ bin/console crawler:go $start\n```\n\n#### Arguments:\n\n```\n  start                            Define where the crawl start. Eg: https://piedweb.com\n                                   You can specify an id from a previous crawl. Other options will not be listen.\n                                   You can use `last` to continue the last crawl (just stopped)\n```\n\n#### Options:\n\n```\n  -l, --limit=LIMIT                Define where a depth limit [default: 5]\n  -i, --ignore=IGNORE              Virtual Robots.txt to respect (could be a string or an URL).\n  -u, --user-agent=USER-AGENT      Define the user-agent used during the crawl. [default: \"SEO Pocket Crawler - PiedWeb.com/seo/crawler\"]\n  -w, --wait=WAIT                  In Microseconds, the time to wait between 2 requests. Default 0,1s. [default: 100000]\n  -c, --cache-method=CACHE-METHOD  In Microseconds, the time to wait between two request. Default : 100000 (0,1s). [default: 2]\n  -r, --restart=RESTART            Permit to restart a previous crawl. Values 1 = fresh restart, 2 = restart from cache\n  -h, --help                       Display this help message\n  -q, --quiet                      Do not output any message\n  -V, --version                    Display this application version\n      --ansi                       Force ANSI output\n      --no-ansi                    Disable ANSI output\n  -n, --no-interaction             Do not ask any interactive question\n  -v|vv|vvv, --verbose             Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug\n\n\n\n```\n\n### Extract All External Links in 1s from a previous crawl\n\n```bash\n$ bin/console crawler:external $id [--host]\n```\n\n```\n    --id\n        id from a previous crawl\n        You can use  `last` too show external links from the last crawl.\n\n    --host -ho\n        flag permitting to get only host\n```\n\n### Calcul Page Rank\n\nWill update the previous `data.csv` generated. Then you can explore your website with the PoC `pagerank.html`\n(in a server `npx http-server -c-1 --port 3000`).\n\n```bash\n$ bin/console crawler:pagerank $id\n```\n\n```\n    --id\n        id from a previous crawl\n        You can use `last` too calcul page rank from the last crawl.\n```\n\n## Testing\n\n```bash\n$ composer test\n```\n\n## Todo\n\n- [ ] Better Links Harvesting and Recording (record context (list, nav, sentence...))\n- [ ] Transform the PoC (Page Rank Visualizer)\n- [ ] Complex Page Rank Calculator (with 301, canonical, nofollow, etc.)\n\n## Contributing\n\nPlease see [contributing](https://dev.piedweb.com/contributing)\n\n## Credits\n\n- [PiedWeb](https://piedweb.com) ak [Robind4](https://twitter.com/Robind4)\n- [All Contributors](https://github.com/PiedWeb/:package_skake/graphs/contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE) for more information.\n\n[![Latest Version](https://img.shields.io/github/tag/PiedWeb/PiedWeb.svg?style=flat\u0026label=release)](https://github.com/PiedWeb/PiedWeb/tags)\n[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat)](https://github.com/PiedWeb/PiedWeb/blob/master/LICENSE)\n[![Build Status](https://img.shields.io/travis/PiedWeb/PiedWeb/master.svg?style=flat)](https://travis-ci.org/PiedWeb/PiedWeb)\n[![Quality Score](https://img.shields.io/scrutinizer/g/PiedWeb/PiedWeb.svg?style=flat)](https://scrutinizer-ci.com/g/PiedWeb/PiedWeb)\n[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/PiedWeb/PiedWeb.svg?style=flat)](https://scrutinizer-ci.com/g/PiedWeb/PiedWeb/code-structure)\n[![Total Downloads](https://img.shields.io/packagist/dt/piedweb/crawler.svg?style=flat)](https://packagist.org/packages/piedweb/crawler)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiedweb%2Fcrawler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiedweb%2Fcrawler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiedweb%2Fcrawler/lists"}