leychan / video-downloader
There is no license information available for the latest version (v1.0.3) of this package.
v1.0.3
2021-03-17 04:51 UTC
Requires
- guzzlehttp/guzzle: ^7.2
- league/climate: >=3.7.0
This package is auto-updated.
Last update: 2026-03-08 01:57:17 UTC
README
download video from websites
背景
在b站听到一个up翻唱的歌曲很好听,但是up没有上传音频版本,只有视频版本,于是萌生了下载视频然后提取音频的想法,就写了这个小工具
支持的站点
- B站
- youtube (需代理)
功能
目前b站可使用的功能:
- 根据url下载视频
- 多段视频合并为一个视频(依赖ffmpeg)
- 分离音频(依赖ffmpeg)
使用
使用 composer
$ composer require leychan/video-downloader:1.0.3
新建index.php文件
<?php require_once __DIR__ . '/vendor/autoload.php'; (new \video\Application())->run();
$ composer install
$ php -f index.php
直接git clone
$ git clone https://github.com/leychan/video-downloader
$ cd video-downloader
$ composer install
$ php -f index.php