Coder Social home page Coder Social logo

91porn_php's Introduction

使用说明

基本使用

所有的配置项都在 Config.php 文件里,根据需要自行更改:

  • 91的主站地址:
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';
  • 运行91all.php需要下载的列表地址以及页码数(只需要提取 "?" 以后的内容)
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

环境要求

  • windows, linux, macos
  • nodejs
  • php >= 5.6

Node.js 安装方法:

Windows

https://nodejs.org/en/download/

MacOS

brew install node --with-npm

群晖

套件中心

CentOS

yum install nodejs

Ubuntu

apt-get install nodejs

联系方式

91porn_php's People

Contributors

zzjzz9266a avatar harukama avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.