Skip to main content

a video downloader written in Python

Project description

YouKuDownLoader

https://img.shields.io/pypi/v/ykdl.svg

A video downloader focus on China mainland video sites.

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

Now, it has migrated to the new website: https://github.com/SeaHOH/ykdl

And, it is still looking for a new owner, see #565.

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

  • Structured source code.

  • Focus on China mainland video sites.

  • Dropped supports of Python 3.4 and below (see #487).

Simple installation guide

There are some useful software package managers.

Step:
  1. Dependencies

    FFmpeg, for merge media files.
    mpv, default media player (optimal compatibility).
  2. Python 3

  3. pip and setuptools, make sure they are updated.

    python3 -m ensurepip
    python3 -m pip install pip --upgrade
    python3 -m pip install setuptools --upgrade
  4. ykdl from PyPI or GitHub

    pip3 install ykdl --upgrade
    pip3 install https://github.com/SeaHOH/ykdl/archive/master.zip --force-reinstall --no-deps
    pip3 install https://github.com/SeaHOH/ykdl/archive/master.zip --upgrade
  5. Make sure those folders are in your PATH, if they are not, add them.

    Windows: folders of ffmpeg.exe, mpv.exe, and python.exe, and folder “<PYTHONHOME>\Scripts”
    others: “~/.local/bin” or “/usr/local/bin”

Site status

Please check wiki page: sites-status

Bugs report, features require, and pull requests are welcome.

Change Log for ykdl

1.8.2

  • enable pep517

  • change API name from “vid” to “mid”, step 1

  • add index item to MediaInfo for playlist

  • add util.lazy

  • fix compatibility with m3u8 3.5.0 (#621) @Joeky

  • fix default filename timestamp (#622) @a67878813

  • add new extractor: acfun.live

  • update GeneralSimple, Bilibili, Douban, DouYin, iQIYI, iXiGua, Huya, Weibo

  • move extractor from “le.le” to “le”

  • remove Baidu, iXiGua.live

1.8.1.post1

  • fix compatibility bug on Python 3.9 and below (#604)

1.8.1

  • add support HTTP cache

  • add support interactive mode

  • add –show-all argument

  • improve handling of media title and filename

  • bilibili.live API has been changed (#600 @fraic)

  • support new sites: iXiGua

  • update GeneralSimple, Bilibili, DouYin, YinYueTai

1.8.0

warning:
warning:
warning:

<lots of breaks>

  • add Brotli support (extra)

  • fix output and update dependencies

  • update Bilibili, Douban, Huya, iQIYI, Weibo

  • more see early PRE-releases

See full change log.

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

ykdl-1.8.2.tar.gz (204.6 kB view hashes)

Uploaded Source

Built Distribution

ykdl-1.8.2-py3-none-any.whl (248.6 kB view hashes)

Uploaded Python 3

Supported by

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