Skip to content
项目

关于

php 写的视频下载工具,现已支持:Youku、Miaopai、腾讯、XVideos、Pornhub、91porn、微博酷燃、bilibili、今日头条、芒果TV

效率与自动化

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README_CN.md

原文

phpVideos

php 写的视频下载工具:

站点 视频
优酷 :white_check_mark:
秒拍 :white_check_mark:
腾讯 :white_check_mark:
XVideos :white_check_mark:
Pornhub :white_check_mark:
91porn :white_check_mark:
微博酷燃 :white_check_mark:
斗鱼 :white_check_mark:
爱奇艺 :white_check_mark:
Weibo :white_check_mark:
Twitter :white_check_mark:
Bilibili(B站) :white_check_mark:
今日头条 :white_check_mark:
芒果TV :white_check_mark:

环境依赖

  • PHP >= 7.1.3
  • OpenSSL PHP Extension
  • cURL PHP Extension
  • FFmpeg:
    • Mac:brew install ffmpeg
    • Linux: Download
  • cURL >= 7.37.0

使用交流

Discord地址:https://discord.gg/xvNQPaT

QQ 群:

代理配置

cp config-template.php config.php
  • config.php
return [
    'http_proxy' => '127.0.0.1:1087',
    'weiboCookie' => '',

    'user_agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36',

    //91porn
    '91porn' => [
        'cookie' => '',
        'user_agent' => '',
    ]
];

使用方法

php start.php 'link_address'

php start.php 'link_address' -i //show playlist image

  • 使用 webui-aria2 下载
php start.php 'link_address' -ar

其他

Centos7 默认的 curl 版本是 7.29 的,需要升级。升级方法:

rpm -ivh http://mirror.city-fan.org/ftp/contrib/yum-repo/city-fan.org-release-2-1.rhel7.noarch.rpm
yum --enablerepo=city-fan.org update curl

curl 升级之后, php 需要重新编译,不能单独编译 php-curl 扩展

Windows10 使用教程

https://youtu.be/KPKoTLtGNOs

更新日志

  1. 2019-08-13:91porn 启用了谷歌人机验证,解决【在浏览器点击谷歌人机验证后进入官网,F12 复制请求头 Cookie 、User-Agent 两项信息到 config.php 文件中的 91porn 配置项】

探索相关项目

加载中…