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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file ykdl-1.8.2.tar.gz.

File metadata

  • Download URL: ykdl-1.8.2.tar.gz
  • Upload date:
  • Size: 204.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/60.5.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.9

File hashes

Hashes for ykdl-1.8.2.tar.gz
Algorithm Hash digest
SHA256 c689b8e4bf303d1582e40d5039539a1a754f7cf897bce73ec57c7e874e354b19
MD5 4b00b2d2cca65c1d985b025b3f6cedbc
BLAKE2b-256 f227f4e7616a139c84a04edb7778db2b3cfb77348ab73020ff232b6551fa8bdd

See more details on using hashes here.

File details

Details for the file ykdl-1.8.2-py3-none-any.whl.

File metadata

  • Download URL: ykdl-1.8.2-py3-none-any.whl
  • Upload date:
  • Size: 248.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/60.5.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.9

File hashes

Hashes for ykdl-1.8.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f9047094d2fc91fa10a5426177a82520ab8800e78f25ad720ffaa3938c2ed13a
MD5 1d4623cff52d1bab01efd0b5075717b9
BLAKE2b-256 c4869f0d9d12744d9fadd59e12661e0887039614718f5f496f64e6c5385c772e

See more details on using hashes here.

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