{"id":21390857,"url":"https://github.com/zzjzz9266a/91porn_php","last_synced_at":"2025-04-04T20:16:07.202Z","repository":{"id":159519990,"uuid":"135238710","full_name":"zzjzz9266a/91porn_php","owner":"zzjzz9266a","description":"最简单的91porn爬虫php版本","archived":false,"fork":false,"pushed_at":"2020-09-11T02:29:24.000Z","size":605,"stargazers_count":608,"open_issues_count":50,"forks_count":169,"subscribers_count":30,"default_branch":"master","last_synced_at":"2025-03-28T19:12:40.650Z","etag":null,"topics":["91porn","crawlar","php","spider","video"],"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/zzjzz9266a.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":"2018-05-29T03:52:52.000Z","updated_at":"2025-03-06T01:36:03.000Z","dependencies_parsed_at":"2023-05-21T06:30:19.839Z","dependency_job_id":null,"html_url":"https://github.com/zzjzz9266a/91porn_php","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzjzz9266a%2F91porn_php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzjzz9266a%2F91porn_php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzjzz9266a%2F91porn_php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzjzz9266a%2F91porn_php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zzjzz9266a","download_url":"https://codeload.github.com/zzjzz9266a/91porn_php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247242682,"owners_count":20907134,"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":["91porn","crawlar","php","spider","video"],"created_at":"2024-11-22T13:20:06.271Z","updated_at":"2025-04-04T20:16:07.182Z","avatar_url":"https://github.com/zzjzz9266a.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/zzjzz9266a/91porn_php\"\u003e\u003cimg src=\"https://github.com/zzjzz9266a/91porn_php/blob/master/logo.jpg?v=2\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/zzjzz9266a/91porn_php\"\u003e\u003cimg src=\"https://img.shields.io/badge/platform-all-lightgrey.svg\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/zzjzz9266a/91porn_php\"\u003e\u003cimg src=\"https://img.shields.io/apm/l/vim-mode.svg\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/zzjzz9266a/91porn_php\"\u003e\u003cimg src=\"https://img.shields.io/badge/language-php\u003e=%205.6-orange.svg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n  \n## 使用说明\n### 基本使用\n所有的配置项都在 `Config.php` 文件里，根据需要自行更改：\n\n* 91的主站地址：  \n\n``` php\nstatic $url = '91porn.com';\n// static $url = '627.workarea7.live';  //免翻墙地址\n// static $url = 'e528.mbaudet.cl';\n```\n\n* 视频存放路径，默认放在项目的`videos`文件夹下\n``` php\nstatic $path = __DIR__.'/videos';\n// static $path = '/Users/ooxx/Downloads/videos';\n```\n\n* 代理（**推荐**），可支持`http`代理或`socks5`代理\n``` php\n// static $proxy = 'http://127.0.0.1:1087';\n// static $proxy = 'socks5://127.0.0.1:1086';\n```\n\n* 运行91all.php需要下载的列表地址以及页码数(只需要提取 \"?\" 以后的内容)\n``` php\nstatic $all_lists = [\n  'category=top\u0026viewtype=basic' =\u003e [1, 10],     //本月最热\n  'category=mf\u0026viewtype=basic' =\u003e [1, 5],       //收藏最多\n  'category=md\u0026viewtype=basic' =\u003e 4,            //收藏最多\n];\n```\n\n* 内存限制，越大越好\n``` php\nstatic $memory_limit = '512M';\n```\n\n### 批量下载视频\n首页：\n````\nphp 91porn.php\n````\n列表页：\n````\nphp 91all.php\n````\n\n### 下载单个视频文件\n运行`detailPage.php`文件，将视频网页的地址传入\n````\nphp detailPage.php http://91porn.com/view_video.php?viewkey=042a30e56c9cd20b075f\n````\n\n## 环境要求\n* windows, linux, macos\n* nodejs\n* php \u003e= 5.6\n\n### Node.js 安装方法：\n#### Windows\nhttps://nodejs.org/en/download/\n#### MacOS\n`brew install node --with-npm`\n#### 群晖\n套件中心\n#### CentOS\n`yum install nodejs`\n#### Ubuntu\n`apt-get install nodejs`\n\n## 联系方式\n![](https://zzjtemp.oss-cn-beijing.aliyuncs.com/%E5%A4%A7%E8%B4%A7%E5%8F%B8%E6%9C%BA%E8%BD%A6%E6%8A%80%E4%BA%A4%E6%B5%81%E7%BE%A4%E7%BE%A4%E4%BA%8C%E7%BB%B4%E7%A0%81.png?v=5\u0026Expires=1558497674\u0026OSSAccessKeyId=TMP.AgGPwASm1-bpl4bX7Za58nzk8RGLB4-5AdnKPDXrDa161ng0XZoyqZJHQ7qaMC4CFQCoFMt-Epqoob1XhXW4zZPk7gpI3AIVAKIqgSyl8uq_Tq4HDsU1oT_n56c_\u0026Signature=koXzQIRfWBt1jANj845ezeLxQAQ%3D)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzzjzz9266a%2F91porn_php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzzjzz9266a%2F91porn_php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzzjzz9266a%2F91porn_php/lists"}