CLI to keep track of videos in Youtube playlists
Project description
yt-queue
CLI to keep track of videos in Youtube playlists
cli
See yt-queue -h and yt-queue <subcommand> -h for details.
Examples:
# create a new file
yt-queue create example.ytq.json "https://www.youtube.com/playlist?list=PL0pg4HdU1lNMtRzycn3wbKyfQO5vQZja9"
# refresh a file, only if it wasnt recently updated
yt-queue refresh example.ytq.json --only-if-older=1day
# get the "new" items
yt-queue filter --no-status example.ytq.json
# read the values of a video from the file
yt-queue read-field example.ytq.json "C0DPdy98e4c" url
yt-queue read-field example.ytq.json "C0DPdy98e4c" title
# set the status
yt-queue set-status example.ytq.json "C0DPdy98e4c" some-text-status
yt-queue filter --status=some-text-status example.ytq.json
# more filter options
yt-queue filter --title "TEST VIDEO" example.ytq.json
yt-queue filter --min-duration 3 example.ytq.json
yt-queue filter --max-duration 20 example.ytq.json
output
Most cli subcommands' output (stdout) is parsable. stderr is used for logging:
filterreturns the matching video ids, 1 per lineread-fieldreturns the value of the field for the given video id
Other subcommands output should not be parsed - they contain either progress or verbose logging (including
from yt-dlp)
development
setup (or recreate) environment with source dev/init.sh
or manually:
python3 -m venv .env
source .env/bin/activate
pip install --editable .
pip install '.[dev]'
other dependencies: shellcheck
tests: ./check.sh
test the built packages: ./dist-check.sh dist/...
Project details
Release history Release notifications | RSS feed
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 yt_queue-0.13.6.tar.gz.
File metadata
- Download URL: yt_queue-0.13.6.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae2a57858c7af0ad2ebfc1541213fc2d484fb696020e69bc46989ff25b2fa61e
|
|
| MD5 |
f9f3b83c07d3adad23cf49fb636cc1cc
|
|
| BLAKE2b-256 |
26ae1ff4228297cb9470d3417b73e90145f302ea4662a6419c4662d5d7026fa1
|
Provenance
The following attestation bundles were made for yt_queue-0.13.6.tar.gz:
Publisher:
build.yml on pretorh/yt-queue
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
yt_queue-0.13.6.tar.gz -
Subject digest:
ae2a57858c7af0ad2ebfc1541213fc2d484fb696020e69bc46989ff25b2fa61e - Sigstore transparency entry: 1154260909
- Sigstore integration time:
-
Permalink:
pretorh/yt-queue@1c97e27427823187a86e2ba5e12cc90096c0970a -
Branch / Tag:
refs/heads/master - Owner: https://github.com/pretorh
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@1c97e27427823187a86e2ba5e12cc90096c0970a -
Trigger Event:
push
-
Statement type:
File details
Details for the file yt_queue-0.13.6-py3-none-any.whl.
File metadata
- Download URL: yt_queue-0.13.6-py3-none-any.whl
- Upload date:
- Size: 16.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
355641493af8e09d7c7198b9da1da8f97369b367af80435fd7c444ecc9db0a97
|
|
| MD5 |
13faa09fce631ab6fa012dd9059be203
|
|
| BLAKE2b-256 |
aca79b4081d2f4ea935c1262ba80c83c6b76bb113765d1787fc76f03869c63c8
|
Provenance
The following attestation bundles were made for yt_queue-0.13.6-py3-none-any.whl:
Publisher:
build.yml on pretorh/yt-queue
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
yt_queue-0.13.6-py3-none-any.whl -
Subject digest:
355641493af8e09d7c7198b9da1da8f97369b367af80435fd7c444ecc9db0a97 - Sigstore transparency entry: 1154260910
- Sigstore integration time:
-
Permalink:
pretorh/yt-queue@1c97e27427823187a86e2ba5e12cc90096c0970a -
Branch / Tag:
refs/heads/master - Owner: https://github.com/pretorh
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@1c97e27427823187a86e2ba5e12cc90096c0970a -
Trigger Event:
push
-
Statement type: