Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Videodl: A lightweight video downloader written in pure python.

License

NotificationsYou must be signed in to change notification settings

CharlesPikachu/videodl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


docsPyPI - Python VersionPyPIlicensePyPI - DownloadsPyPI - Downloadsissue resolutionopen 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

Source_ENSource_CNIntroductionCore Code
cntv央视网clickclick
mgtv芒果TVclickclick
migu咪咕视频clickclick
acfunAcFun视频clickclick
douyin抖音clickclick
haokan好看视频clickclick
bilibiliB站视频clickclick
zhihu知乎视频clickclick
xigua西瓜视频clickclick
iqiyi爱奇艺视频clickclick
tedTED视频clickclick
pipigaoxiao皮皮搞笑clickclick
pipix皮皮虾clickclick
yinyuetai音悦网clickclick
weibo微博clickclick
baidutieba百度贴吧clickclick
kuaishou快手视频clickclick
ku6酷6网clickclick
sohu搜狐TVclickclick

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) OfflineStep1: git clone https://github.com/CharlesPikachu/videodl.gitStep2:cd videodl -> run"python setup.py install"(2) Onlinerun"pip install git+https://github.com/CharlesPikachu/videodl.git@master"

Quick Start

Run by leveraging the API

fromvideodlimportvideodlconfig= {"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.
  • CodeFree: Make no code a reality.
  • DeepLearningToys: Some deep learning toys implemented in pytorch.
  • DataAnalysis: Some data analysis projects in charles_pikachu.
  • Imagedl: Search and download images from specific websites.
  • Pytoydl: A toy deep learning framework built upon numpy.
  • NovelDL: Search and download novels from some specific websites.

More

WeChat Official Accounts

Charles_pikachu
img


[8]ページ先頭

©2009-2025 Movatter.jp