Skip to main content

Simple tool to sort videos with directories by channel

Reason this release was yanked:

Broken

Project description

yt-video-sorter

Simple tool to sort videos with directories by channel

How to use?

What you need:

  • Python 3
  • A directory full of videos downloaded with yt-dlp
  • A YouTube API key

Installation

$ pipx install ytvideosorter
Getting an API key

Go to Google Cloud Console, create a new project if needed

In the "Quick Access" section, click "APIs & Services"

Click the "+ Enable APIs & services" button

Search and enable "YouTube Data API v3"

On the right side of the screen, click the "Credentials" section, click "+ Create credentials" and click "API key"

Now you have your API key!

Usage

Make sure your current working directory is the directory full of videos.

$ ytvs [api key]

Now your videos will be sorted with this directory structure:

  • Channel Name (@handle)
    • Shorts
      • Some Short [video id].mp4
    • Some video [video id].mp4

Project details


Download files

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

Source Distribution

youtubevideosorter-1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

youtubevideosorter-1.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file youtubevideosorter-1.0.tar.gz.

File metadata

  • Download URL: youtubevideosorter-1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for youtubevideosorter-1.0.tar.gz
Algorithm Hash digest
SHA256 dc9f123c71f69b8d914180120b33b9f13e1bea8c0e5c0ee3e5c9319439036bd2
MD5 03bac29b2135b6e6d558c8885d09e47f
BLAKE2b-256 5248258d81e4ab63d27c18cc257f53e0ff3a048131a44c6959f31d86972f9fcf

See more details on using hashes here.

File details

Details for the file youtubevideosorter-1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for youtubevideosorter-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b33c5d65abce77896e575d973d80fca967d7a26f209ec0b4eb153b85296498bb
MD5 fe4e265048a0fb5f6458c3617bbee0d4
BLAKE2b-256 709aff08ea05d5e0d3c6dc96db6d58f542ab3d9148c49ad5367269050c30eb4d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page