Skip to main content

playlistzip

Join two to four youtube playlists into combined viewsync links. Joining is accomplished either by episode numbers, collected from video titles, or by index pairing.

Supports *nix and Windows.

Usage

plz "PL1O4GjhJgk40spOiTqpdh5rmp8z6lbpHQ" "PLlwKCy51_4YjSUB4gshARQIdFKOQ7wIqR"

Where positional arguments are playlist IDs retrieved from youtube. These are “list” GET parameters, visible in URL when you browse to any playlist page on youtube.

You can also specify regular expressions to be used to pick out episode numbers, directly via command line options. Useful for cases where default regex fail to get the correct episode number, or if you want to filter some videos out. All regular expressions have to contain one capturing group in them (specified by “([0-9]{1,2})” usually) – capturing the episode number.

plz --third-regex="Mathas ([0-9]{1,2})" \
    "PL1bauNEiHIgyqZ2B_x9kJWVX_dlDKv1cF" \
    "PLrIoJm0QOWUp-KwSJHNGGODWZCpVnu6km" \
    "PLH-huzMEgGWD5f_ItXeqF-qBoxkhNUNex"

Regular expression options can be specified several times, it will try them until it gets a match, in order, starting with the first one.

plz --third-regex="#([0-9]{1,2})" \
    --third-regex="Mathas ([0-9]{1,2})" \
    "PL1bauNEiHIgyqZ2B_x9kJWVX_dlDKv1cF" \
    "PLrIoJm0QOWUp-KwSJHNGGODWZCpVnu6km" \
    "PLH-huzMEgGWD5f_ItXeqF-qBoxkhNUNex"
Synopsis:

plz [-h] [–first-regex FIRST_REGEX] [–second-regex SECOND_REGEX] [–third-regex THIRD_REGEX] [–fourth-regex FOURTH_REGEX] [–omit-title] [–json] [–join-by-index] playlists [playlists …]

For each of joined episodes, output includes a title of the video of the first specified playlist, followed by viewsync URL.

--omit-title to get only viewsync URLs as an output.

--json output JSON instead of space separated data.

--join-by-index join playlists by index instead of using regex to match up episode numbers.

Contribute

  • Issue Tracker: gitlab.com/rossvor/playlistzip/issues

  • Source Code: gitlab.com/rossvor/playlistzip

Metadata

Release files for playlistzip 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for playlistzip 0.1.2
File Size Uploaded Provenance Actions
playlistzip-0.1.2.tar.gz 16.6 kB Without provenance Details for playlistzip-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for playlistzip 0.1.2
File Interpreter ABI Platform Actions
playlistzip-0.1.2-py3-none-any.whl Python 3 none any Details for playlistzip-0.1.2-py3-none-any.whl

Total release size: 33.7 kB

Release files / playlistzip-0.1.2.tar.gz

Download URL playlistzip-0.1.2.tar.gz
Size 16.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3b18c469bdd5e8c770896c7a2e01bce23870a1b040d70a5036f788ad4dbff99e
BLAKE2b-256 checksum
How to use checksums
f54721639213e7be1e61dbfc2f4d1536ac67bdedbd9940414d2000c8b0d90afd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.17 CPython/3.8.1 Linux/5.4.6-arch3-1

Release files / playlistzip-0.1.2-py3-none-any.whl

Download URL playlistzip-0.1.2-py3-none-any.whl
Size 17.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9c25769b915c9a580b7e969976b3314f72356cc504e976f75c52fc46d42fd6ea
BLAKE2b-256 checksum
How to use checksums
329db8f389f40197060ca4ed9b7e168d4c26d44babacf8bdbf2466445732473a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.17 CPython/3.8.1 Linux/5.4.6-arch3-1

Security for playlistzip 0.1.2

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page