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.
Websites | Introduction | Code | in Chinese |
---|---|---|---|
cntv | click | click | 央视网 |
mgtv | click | click | 芒果TV |
migu | click | click | 咪咕视频 |
acfun | click | click | AcFun视频 |
douyin | click | click | 抖音 |
haokan | click | click | 好看视频 |
bilibili | click | click | B站视频 |
zhihu | click | click | 知乎视频 |
xigua | click | click | 西瓜视频 |
iqiyi | click | click | 爱奇艺视频 |
- ffmpeg: You should set ffmpeg in environment variable.
- Nodejs: Since some of the supported websites (e.g., xigua) need to compile the js code, you should install the nodejs in your computer.
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()
- Games: Create interesting games by pure python.
- DecryptLogin: APIs for loginning some websites by using requests.
- Musicdl: A lightweight music downloader written by pure python.
- Videodl: A lightweight video downloader written by pure python.
- Pytools: Some useful tools written by pure python.
- PikachuWeChat: Play WeChat with itchat-uos.
- Pydrawing: Beautify your image or video.