静看光阴荏苒
不管不顾不问不说也不念

AllTube:视频解析下载

宝塔面板LNMP环境(PHP7.2)基础上,使用如下命令完成安装:

没unzip先装unzip,Debian9:

apt -y install unzip

CentOS7:

yum -y install epel-release && yum -y install unzip

然后一样的套路:

wget https://github.com/Rudloff/alltube/releases/download/1.2.5/alltube-1.2.5.zip
unzip alltube-1.2.5.zip -d /www/wwwroot/你的站点目录
cp /www/wwwroot/你的站点目录/config/config.example.yml /www/wwwroot/你的站点目录/config/config.yml
chown -R www:www /www/wwwroot/你的站点目录
chmod -R 755 /www/wwwroot/你的站点目录

如果需要视频转码功能,安装FFMPEG,Debian9(不需要直接跳过这一步):

apt -y install ffmpeg

CentOS7:

wget https://www.johnvansickle.com/ffmpeg/old-releases/ffmpeg-4.0.3-64bit-static.tar.xz
tar -xJf ffmpeg-4.0.3-64bit-static.tar.xz
cd ffmpeg-4.0.3-64bit-static
mv ffmpeg /usr/bin && mv ffprobe /usr/bin && mv qt-faststart /usr/bin && mv ffmpeg-10bit /usr/bin

然后你需要在config.yml内开启转码和指定FFMPEG的二进制文件路径:

接着修改PHP设置,删除标注的这两个函数:

Nginx规则:

location ~ /\. {
                deny all;
        }

location / {
                try_files $uri /index.php?$args;
        }

程序首页:

有什么用?能解决生理需求吧。。。支持列表说可以下iqiyi/youku/b站,我试了没一个可以的,但是国外的各种porn/r18是没问题的:

赞(10)
未经允许不得转载:荒岛 » AllTube:视频解析下载
分享到: 更多 (0)

评论 9

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
  1. #1

    新年第一篇预示了今年福利多 :grin:

    zturns5年前 (2019-02-11) Chrome 71.0.3578.89 Chrome 71.0.3578.89 iPhone iOS 12.1 iPhone iOS 12.1回复
    • 这已经不知道是新年第几篇了。。

      LALA5年前 (2019-02-12) Google Chrome 71.0.3578.98 Google Chrome 71.0.3578.98 Windows 10 x64 Edition Windows 10 x64 Edition回复
      • 芽儿,不是第一篇福利吗 :oops:

        zturns5年前 (2019-02-12) Firefox 65.0 Firefox 65.0 Windows 10 x64 Edition Windows 10 x64 Edition回复
        • 芽儿哟,我的印象里面新年开始是每年的1月1号。。

          LALA5年前 (2019-02-12) Google Chrome 71.0.3578.98 Google Chrome 71.0.3578.98 Windows 10 x64 Edition Windows 10 x64 Edition回复
  2. #2

    嘿嘿

    zn乐5年前 (2019-02-11) Google Chrome 63.0.3239.132 Google Chrome 63.0.3239.132 Windows 10 x64 Edition Windows 10 x64 Edition回复
  3. #3

    程序员没头发可能不是因为加班,就是因为看片儿 :smile:

    大土豆5年前 (2019-02-13) Google Chrome 69.0.3497.100 Google Chrome 69.0.3497.100 Windows 10 x64 Edition Windows 10 x64 Edition回复
    • 今天吃的小土豆 :shock:

      LALA5年前 (2019-02-13) Google Chrome 71.0.3578.98 Google Chrome 71.0.3578.98 Windows 10 x64 Edition Windows 10 x64 Edition回复
  4. #4

    还有一个 proc_get_status 的PHP函数也要解禁

    loren2年前 (2022-10-26) Microsoft Edge 106.0.1370.52 Microsoft Edge 106.0.1370.52 Windows 10 x64 Edition Windows 10 x64 Edition回复

分享创造快乐

广告合作资源投稿