Skip to main content

Yuu - A simple AbemaTV video downloader

Project description

(koito) yuu

A simple AbemaTV and other we(e)bsite video downloader in python

koito yuu

pypi version python version License

Requirements

  • click
  • pycryptodome
  • Python 3.5+
  • m3u8
  • tqdm
  • Japan connection/proxy/vpn

Supported web

  • AbemaTV
  • Aniplus Asia
  • GYAO!

Installation

pip install yuu

or clone this project and type pip install .

Usage

>> yuu -h
Usage: yuu [OPTIONS] COMMAND [ARGS]...

  A simple AbemaTV video downloader

Options:
  -V, --version  Show current version
  -U, --update   Update yuu to the newest version
  -h, --help     Show this message and exit.

Commands:
  download  Download a video from yuu Supported we(e)bsite
  streams   Check supported website

///////////////////////////////////////////////////
>> yuu download -h
Usage: yuu download [OPTIONS] <URL site>

  Main command to access downloader

  Check supported streams for yuu: `yuu streams`

Options:
  -U, --username TEXT        Use username/password to download premium video
  -P, --password TEXT        Use username/password to download premium video
  -p, --proxy <ip:port/url>  Use http(s)/socks5 proxies (please add
                             `socks5://` if you use socks5)
  -r, --resolution TEXT      Resolution to be downloaded (Default: best)
  -R, --resolutions          Show available resolutions
  --mux                      Mux .ts to .mkv (Need ffmpeg or mkvmerge)
  -keep, --keep-fragments    Keep downloaded fragment and combined fragment
                             (If muxing) (Default: no)
  -o, --output TEXT          Output filename
  -v, --verbose              Enable verbosity
  -h, --help                 Show this message and exit.
  • --username/-U: Use yuu with registered username/password
  • --password/-P: Use yuu with registered username/password
  • --proxies/-p: Download using proxy for people outside Japan
    • Example: 127.0.0.1:1080, http://127.0.0.1:1080, http://user:pass@127.0.0.1:1080, socks5://127.0.0.1:1080
  • --resolution/-r: Target resolution
  • --resolutions/-R: Show available resolution
  • --mux: Mux output file to .mkv
  • --keep-fragments/-keep: Keep downloaded fragment and combined fragment
  • --output/-o: Output filename (Automated if there's nothing omitted) (Default: no)
  • --version/-V: Show version number
  • --verbose/-v: Enable verbose/debug mode

Information: Please use HTTPS proxy for now, it tested and works. SOCKS5 are not tested yet and HTTP doesn't work

Example command:

  • yuu download -R https://abema.tv/video/episode/54-25_s1_p1

    Show available resolution for Yagate Kimi ni Naru episode 01

  • yuu download https://abema.tv/video/episode/54-25_s1_p1

    Download 1080p video of Yagate Kimi ni Naru episode 01

  • yuu download https://abema.tv/video/episode/54-25_s1_p1 -r 480p

    Download 480p video of Yagate Kimi ni Naru episode 01

  • yuu download https://ds-vod-abematv.akamaized.net/program/54-25_s1_p1/1080/playlist.m3u8 -o '5toubun01.ts'

    Download 1080p video from m3u8 link

  • yuu download https://abema.tv/video/episode/54-25_s1_p1 -p '127.0.0.1:3128

    Download 480p video of Yagate Kimi ni Naru episode 01 using 127.0.0.1:3128 proxy

Credits

  • jackyzy823 (Decryption key fetching method)
  • Last-Order (Minyami author)

This project are protected by BSD 3-Clause License

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

yuu-1.2.4.tar.gz (18.0 kB view details)

Uploaded Source

Built Distribution

yuu-1.2.4-py2.py3-none-any.whl (37.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file yuu-1.2.4.tar.gz.

File metadata

  • Download URL: yuu-1.2.4.tar.gz
  • Upload date:
  • Size: 18.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.8.5

File hashes

Hashes for yuu-1.2.4.tar.gz
Algorithm Hash digest
SHA256 f7c0b2983bd286b0b70d9978c7e6e461152f0bf33da2127277e3be9ec25f0b20
MD5 d479958d4f47afd899742b7d4894feda
BLAKE2b-256 0f7e655efb1c0fb225d38850380a03133b501ef1a9b91fe129386a3d096191d3

See more details on using hashes here.

File details

Details for the file yuu-1.2.4-py2.py3-none-any.whl.

File metadata

  • Download URL: yuu-1.2.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 37.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.8.5

File hashes

Hashes for yuu-1.2.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d68afc3e9863f9059c21e7d2140ef5242bdc1ec7dee2d5ea8b2600641c014b9e
MD5 c247caaa936ad6121ffcde7052a24024
BLAKE2b-256 e81ec5666c13100c59cdc320dc9bb528958d36a1c9af7fbe8dc907f6b4153375

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