Videodl: A lightweight video downloader written by pure python.
Documents: https://videofetch.readthedocs.io/
A lightweight video downloader written by pure python.
You can star this repository to keep track of the project if it's helpful for you, thank you for your support.
This repository is created just for learning python(Commercial prohibition).
All the apis used in this repository are from public network. So, if you want to download the paid videos,
please open a paid member on corresponding video platform by yourself (respect the video copyright please).
Finally, if there are any infringements, please contact me to delete this repository.
Source_EN | Source_CN | Introduction | Core Code |
---|---|---|---|
cntv | 央视网 | click | click |
mgtv | 芒果TV | click | click |
migu | 咪咕视频 | click | click |
acfun | AcFun视频 | click | click |
douyin | 抖音 | click | click |
haokan | 好看视频 | click | click |
bilibili | B站视频 | click | click |
zhihu | 知乎视频 | click | click |
xigua | 西瓜视频 | click | click |
iqiyi | 爱奇艺视频 | click | click |
ted | TED视频 | click | click |
pipigaoxiao | 皮皮搞笑 | click | click |
pipix | 皮皮虾 | click | click |
yinyuetai | 音悦网 | click | click |
微博 | click | click | |
baidutieba | 百度贴吧 | click | click |
kuaishou | 快手视频 | click | click |
ku6 | 酷6网 | click | click |
sohu | 搜狐TV | click | click |
run "pip install videofetch"
(1) Offline
Step1: git clone https://github.com/CharlesPikachu/videodl.git
Step2: cd videodl -> run "python setup.py install"
(2) Online
run "pip install git+https://github.com/CharlesPikachu/videodl.git@master"
from videodl import videodl
config = {
"logfilepath": "videodl.log",
"proxies": {},
"savedir": "downloaded"
}
dl_client = videodl.videodl(config=config)
dl_client.run()
Usage: videodl [OPTIONS]
Options:
-i, --url TEXT 想要下载的视频链接, 若不指定, 则进入videodl终端版
-l, --logfilepath TEXT 日志文件保存的路径
-p, --proxies TEXT 设置的代理
-s, --savedir TEXT 视频保存的文件夹
--help Show this message and exit.
Charles_pikachu