{"id":20841513,"url":"https://github.com/omgzui/spider","last_synced_at":"2025-10-30T06:03:21.855Z","repository":{"id":110982214,"uuid":"101390218","full_name":"OMGZui/Spider","owner":"OMGZui","description":"🐛爬取好玩的东西","archived":false,"fork":false,"pushed_at":"2017-12-22T09:44:37.000Z","size":44,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-09T04:43:20.253Z","etag":null,"topics":["php","phpdotenv","spider"],"latest_commit_sha":null,"homepage":"","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/OMGZui.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-08-25T09:46:06.000Z","updated_at":"2020-09-13T06:55:22.000Z","dependencies_parsed_at":"2023-07-25T14:15:31.793Z","dependency_job_id":null,"html_url":"https://github.com/OMGZui/Spider","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/OMGZui/Spider","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OMGZui%2FSpider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OMGZui%2FSpider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OMGZui%2FSpider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OMGZui%2FSpider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OMGZui","download_url":"https://codeload.github.com/OMGZui/Spider/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OMGZui%2FSpider/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000708,"owners_count":26082921,"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-09T02:00:07.460Z","response_time":59,"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":["php","phpdotenv","spider"],"created_at":"2024-11-18T01:20:28.549Z","updated_at":"2025-10-09T04:43:22.321Z","avatar_url":"https://github.com/OMGZui.png","language":"PHP","readme":"# 爬虫\n\n前言：爬取好玩的东西\n\n## Usage\n\n### 目录结构\n\n```php\n\n- 目录\n    - app 爬虫包\n    - databases 数据库\n    - models 数据库映射模型\n    - sqls 数据库sql\n    - tools 工具\n    \n- 文件\n    - index.php 入口\n    - .env 配置文件\n    - composer.json 依赖文件\n\n```\n\n### 使用\n\n```php\n\ngit clone https://github.com/OMGZui/Spider.git\ncomposer install\nmv .env.example .env\ncd app/douban/top250\nphp -f orm_top250.php\n或\nphp orm_top250.php\n\n```\n\n## 依赖库\n\n- [jaeger/querylist][1] 爬虫库\n- [symfony/var-dumper][2] 调试\n- [illuminate/database][3] 数据库ORM\n- [vlucas/phpdotenv][4] .env配置\n\n## 小目标\n\n- [x] 豆瓣top250爬取\n- [ ] 豆瓣战狼影评爬取\n- [ ] ...\n\n[1]: https://github.com/jae-jae/QueryList\n[2]: https://github.com/symfony/var-dumper\n[3]: https://github.com/illuminate/database\n[4]: https://github.com/vlucas/phpdotenv\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomgzui%2Fspider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fomgzui%2Fspider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomgzui%2Fspider/lists"}