@liudonghua123/video-downloader
v0.1.6
Published
It's a simple tool which download video from yhdm.
Downloads
8
Maintainers
Readme
video-downloader
It's a simple tool which download video from some source like yhdm.
How to use it
Use it as a tool
npm i -g @liudonghua123/video-downloader
video-downloader -h
video-downloader -u /url/to/the/video -u /rule/of/video/url -o /path/to/video/file/to/save
Use it as a libary
npm i -S @liudonghua123/video-downloader
import { getVideoUrl, downloadVideo } from "@liudonghua123/video-downloader";
- invoke
getVideoUrl
function just likevideo-downloader.mts
.
ToDos
- [ ] add config.yaml file for arguments replacement
- [ ] add more source of video supporting
- [ ] add more features ...
License
MIT License
Copyright (c) 2024 liudonghua.