{"id":13464650,"url":"https://github.com/hightman/pspider","last_synced_at":"2025-03-25T11:31:58.111Z","repository":{"id":141742611,"uuid":"8647175","full_name":"hightman/pspider","owner":"hightman","description":"纯 PHP 开发的并行抓取工具 (Parallel web crawler written in PHP)","archived":false,"fork":false,"pushed_at":"2015-09-16T09:21:38.000Z","size":196,"stargazers_count":265,"open_issues_count":1,"forks_count":110,"subscribers_count":41,"default_branch":"master","last_synced_at":"2024-10-29T17:51:40.053Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","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/hightman.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":"2013-03-08T08:47:47.000Z","updated_at":"2024-09-21T12:51:19.000Z","dependencies_parsed_at":"2023-03-13T10:29:21.992Z","dependency_job_id":null,"html_url":"https://github.com/hightman/pspider","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/hightman%2Fpspider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hightman%2Fpspider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hightman%2Fpspider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hightman%2Fpspider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hightman","download_url":"https://codeload.github.com/hightman/pspider/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245454074,"owners_count":20617971,"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-07-31T14:00:48.038Z","updated_at":"2025-03-25T11:31:53.767Z","avatar_url":"https://github.com/hightman.png","language":"PHP","funding_links":[],"categories":["All","PHP"],"sub_categories":[],"readme":"PHP - spider 框架\n===================\n\n这是最近使用纯 `php` 代码开发的并行抓取(爬虫)框架，基于 [hightman\\httpclient](https://github.com/hightman/httpclient) 组件。\n\n您必须先装有 [composer](http://getcomposer.org)，然后在项目里先运行以下命令下载组件：\n\n~~~\ncomposer install\n~~~\n\n\n使用 pspider\n--------------\n\n这里头的 URL 表管理需要 MySQLi 扩展支持，表结构和自定义的内容参见自定义文件。\n\n1. 复制 `custom/skel.inc.php` 为 `custom/your.inc.php`\n2. 根据说明修改 custom/your.inc.php\n3. 根据 custom/your.inc.php 里的注释创建 mysql 的 URL 表\n4. 运行 spider.php -u http://... 即可开始循环抓取\n5. UrlTable 的实现很简单仅作示例，具体可自行重做\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhightman%2Fpspider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhightman%2Fpspider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhightman%2Fpspider/lists"}