Documents: https://videofetch.readthedocs.io/
Videodl
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.
Statement
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.
Support List
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 | 爱奇艺视频 |
ted | click | click | TED视频 |
pipigaoxiao | click | click | 皮皮搞笑 |
pipix | click | click | 皮皮虾 |
Install
Preparation
- 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.
Pip install
run "pip install videofetch"
Source code install
(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"
Quick Start
from videodl import videodl
config = {
"logfilepath": "videodl.log",
"proxies": {},
"savedir": "downloaded"
}
dl_client = videodl.videodl(config=config)
dl_client.run()
Screenshot
Projects in Charles_pikachu
- 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.
- ImageCompressor: Image compressors written by pure python.
- FreeProxy: Collecting free proxies from internet.
- Paperdl: Search and download paper from specific websites.