Stars: 593
Forks: 208
Pull Requests: 2
Issues: 71
Watchers: 31
Last Updated: 2020-09-11 02:29:24
最简单的91porn爬虫php版本
License:
Languages: PHP
所有的配置项都在 Config.php
文件里,根据需要自行更改:
static $url = '91porn.com';
// static $url = '627.workarea7.live'; //免翻墙地址
// static $url = 'e528.mbaudet.cl';
videos
文件夹下static $path = __DIR__.'/videos';
// static $path = '/Users/ooxx/Downloads/videos';
http
代理或socks5
代理// static $proxy = 'http://127.0.0.1:1087';
// static $proxy = 'socks5://127.0.0.1:1086';
static $all_lists = [
'category=top&viewtype=basic' => [1, 10], //本月最热
'category=mf&viewtype=basic' => [1, 5], //收藏最多
'category=md&viewtype=basic' => 4, //收藏最多
];
static $memory_limit = '512M';
首页:
php 91porn.php
列表页:
php 91all.php
运行detailPage.php
文件,将视频网页的地址传入
php detailPage.php http://91porn.com/view_video.php?viewkey=042a30e56c9cd20b075f
https://nodejs.org/en/download/
brew install node --with-npm
套件中心
yum install nodejs
apt-get install nodejs