/ykdl

a video downloader focus on China mainland video sites.

Primary LanguagePythonOtherNOASSERTION

YouKuDownLoader

A video downloader focus on China mainland video sites.

website: https://github.com/zhangn1985/ykdl

This project is a fork of you-get with below changes.

  1. Structured source code.
  2. focus on China mainland video sites.
  3. dropped supports of Python 3.4 and below (see #487).

Simple installation guide

Packages on PyPI had been outdated, consider install via other package managers, or direct install from source.

macOS/Linux

  1. install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  1. install FFmpeg and mpv [optional]
brew install ffmpeg mpv
  1. install ykdl (v1.7.0)
brew install ykdl
  1. /usr/local/bin is already in your PATH, if it is not, add it

Debian/Linux

  1. install FFmpeg and mpv [optional]
sudo apt-get install ffmpeg mpv
  1. install pip
sudo apt-get install python3-pip
  1. install ykdl
pip3 install git+https://github.com/zhangn1985/ykdl.git --upgrade --user
  1. add ~/.local/bin to your PATH

Windows 10

  1. install Chocolatey with PowerShell
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
  1. install FFmpeg and mpv [optional]
choco install ffmpeg mpv
  1. install Python (--version is not necessary, default to newest version)
choco install python --version=3.x.x
  1. install pip
python3.x -m ensurepip
python3.x -m pip install pip --upgrade
python3.x -m pip install setuptools --upgrade
  1. install ykdl
pip3 install git+https://github.com/zhangn1985/ykdl.git --upgrade

Windows 7+

  1. install FFmpeg and mpv [optional]
  2. install Python 3 from python.org
  3. make sure folders of ffmpeg.exe, mpv.exe, python.exe and folder python/Scripts are in your PATH
  4. install pip and ykdl, same as Windows 10, see above

Other OS

Please DIY.

Site status

Please check wiki page: sites-status

File bugs or requirements are welcome.

Submit PRs are welcome.