Skip to main content

Videodl: A lightweight video downloader written by pure python

Project description


docs PyPI - Python Version PyPI license PyPI - Downloads PyPI - Downloads issue resolution open issues

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

Run by leveraging the API

from videodl import videodl

config = {
    "logfilepath": "videodl.log",
    "proxies": {},
    "savedir": "downloaded"
}
dl_client = videodl.videodl(config=config)
dl_client.run()

Run by leveraging compiled file

Usage: videodl [OPTIONS]

Options:
  -i, --url TEXT          想要下载的视频链接, 若不指定, 则进入videodl终端版
  -l, --logfilepath TEXT  日志文件保存的路径
  -p, --proxies TEXT      置顶代理
  -s, --savedir TEXT      视频保存的文件夹
  --help                  Show this message and exit.

Screenshot

img

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.
  • Sciogovterminal: Browse "The State Council Information Office of the People's Republic of China" in the terminal.

More

WeChat Official Accounts

Charles_pikachu
img

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

videofetch-0.1.7.tar.gz (100.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

videofetch-0.1.7-py3-none-any.whl (111.5 kB view details)

Uploaded Python 3

File details

Details for the file videofetch-0.1.7.tar.gz.

File metadata

  • Download URL: videofetch-0.1.7.tar.gz
  • Upload date:
  • Size: 100.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.11.0 pkginfo/1.7.0 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.8

File hashes

Hashes for videofetch-0.1.7.tar.gz
Algorithm Hash digest
SHA256 4e98bf31eab0697f3c3e08ac92b10d11aa51b6525361a650a31c767a2b20269d
MD5 16d3148a2a89eecb1e1469087a8e9982
BLAKE2b-256 f40df210332e559f1ac8731d81db229e8bee6ce3ed024aab6bb3f802d0049b78

See more details on using hashes here.

File details

Details for the file videofetch-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: videofetch-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 111.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.11.0 pkginfo/1.7.0 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.8

File hashes

Hashes for videofetch-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 26cbaabc237571ada6477b7b2834fdd725128637df363b2021ec2ec2fa0b5408
MD5 397f4507915b6ccecf77ca45d61faf8f
BLAKE2b-256 2ad35e52d4e210f7dc569401e3a606fc95d6a450405929e1024cfced4fb5a96a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page