Skip to main content

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

Project description

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.


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" \

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" \
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.


  • Issue Tracker:
  • Source Code:

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for playlistzip, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size playlistzip-0.1.2-py3-none-any.whl (17.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size playlistzip-0.1.2.tar.gz (16.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page