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.
Metadata
Release files for kino-flex-dl 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kino_flex_dl-0.1.1.tar.gz | 5.2 kB | Without provenance | Details for kino_flex_dl-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kino_flex_dl-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for kino_flex_dl-0.1.1-py3-none-any.whl |
Total release size: 12.1 kB
Release files / kino_flex_dl-0.1.1.tar.gz
| Download URL | kino_flex_dl-0.1.1.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a976831342c5fac976e0e09de6833625a6981bfa74f54bc2fe69e1ba367ef313
|
|
BLAKE2b-256 checksum How to use checksums |
24b2e3fadd3d78d921395342941953d1ebdc3ee691293c70d1a7c365eaf409e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.13.14 Linux/7.1.4-zen1
|
Release files / kino_flex_dl-0.1.1-py3-none-any.whl
| Download URL | kino_flex_dl-0.1.1-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d02949f460810cf3875bd5b0fc82213021185edace290383f59a6db992514b42
|
|
BLAKE2b-256 checksum How to use checksums |
d8442248612b37e1d17ba7f7e2ec1b4183c58970ac0c087c5c75324829c58e38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.13.14 Linux/7.1.4-zen1
|
Security for kino-flex-dl 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.