# phpVideos **Repository Path**: yurs/phpVideos ## Basic Information - **Project Name**: phpVideos - **Description**: No description available - **Primary Language**: PHP - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-05-18 - **Last Updated**: 2024-05-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 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](http://ffmpeg.org/download.html) * cURL >= 7.37.0 # 使用交流 Discord地址:https://discord.gg/xvNQPaT QQ 群: # 代理配置 ```bash cp config-template.php config.php ``` * config.php ```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](https://image.ibb.co/mysKyd/Jul_21_2018_21_38_34.gif) * 使用 webui-aria2 下载 ```bash 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 配置项】