flex-dl
CLI tool and Python library for downloading movies, series, and video content from flex-kino.com using yt-dlp.
Features
- Flexible episode filtering for TV series (by season and episode ranges or custom lists)
- Custom output directory and file path formatting
- Support for
yt-dlpstream selection, multi-thread downloading, and dry-run execution - CLI interface and programmatic Python API
Installation
Install using pip:
pip install kino-flex-dl
Or using poetry:
poetry add kino-flex-dl
Quick Start
Command Line Interface
Run using the kino-flex-dl entrypoint (or flex-dl) or via module execution:
kino-flex-dl <slug> [options]
Or:
python -m flex_dl <slug> [options]
CLI Arguments
positional arguments:
slug flex-kino.com title slug
options:
-h, --help show help message and exit
-f FORMAT, --format FORMAT
download format string passed to yt-dlp
-s SERIES, --series SERIES
series filter ("*[start,[stop,step]]:..." for ranges or "s1,s2:e1,e2|...")
-v STUDIO, --studio STUDIO
studio name, slug, #id or index
-o OUT, --out OUT output file path template
-e EXE, --exe EXE yt-dlp executable path (default: yt-dlp)
-x multithread yt-dlp execution
-l dry-run mode (print generated commands without running)
Examples
Print yt-dlp download commands without executing them:
kino-flex-dl movie-slug -l
Download specific seasons and episodes:
kino-flex-dl series-slug -s "1,2:1,2,3" -f "best"
Python API Usage
from flex_dl import FlexClient
with FlexClient(print_only=False, executable="yt-dlp") as client:
client.download(
slug="series-slug",
out="{f[original_name]}/{e[season]:0>2}/{e[series]:0>2}.%(ext)s",
file_format="best",
filter_episodes=lambda season, episode: season == 1,
add=[],
)
Requirements
- Python >= 3.8
yt-dlpinstalled and available inPATH
License
Distributed under the MIT License. See LICENSE for details.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kino_flex_dl-0.1.1.tar.gz.
File metadata
- Download URL: kino_flex_dl-0.1.1.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.4.1 CPython/3.13.14 Linux/7.1.4-zen1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a976831342c5fac976e0e09de6833625a6981bfa74f54bc2fe69e1ba367ef313
|
|
| MD5 |
243357748ad92bc0d2844539f4d092a7
|
|
| BLAKE2b-256 |
24b2e3fadd3d78d921395342941953d1ebdc3ee691293c70d1a7c365eaf409e5
|
File details
Details for the file kino_flex_dl-0.1.1-py3-none-any.whl.
File metadata
- Download URL: kino_flex_dl-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.4.1 CPython/3.13.14 Linux/7.1.4-zen1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d02949f460810cf3875bd5b0fc82213021185edace290383f59a6db992514b42
|
|
| MD5 |
727e089633bb0bbfac076ad76a842b54
|
|
| BLAKE2b-256 |
d8442248612b37e1d17ba7f7e2ec1b4183c58970ac0c087c5c75324829c58e38
|