A CLI for "borrowing" music from YouTube. DJ use only, and also, you know the deal, DJs, right?
Project description
Pythief DJ
A semi-simple tool for... "borrowing"... audio from YouTube videos.
Here's why I do this
It's common DJ etiquette (or really just like, person-etiquette) to purchase songs that you use for your craft. I wholeheartedly endorse this ideal and do it myself. However, I'm also a bedroom DJ who mixes a lot of stuff that people never hear, and very often, I want to try mixing a song before I use it in one of my patented adorable newbie videos. YouTube is a great source for use cases like this, despite a little moral dubiousness.
However, I also found YouTube ripping a very tedious process. You search, find your video, go to one of a million "YouTube to Mp3 FAST!" sites, click multiple times, download, save, and so on, so I wrote this tool to automate some of it. I don't have the search thing figured out yet (it can be tricky to identify the right video for a song - for example, some music videos edit the original audio for dramatic effect), but right now, you can use this to download audio from multiple YouTube videos by URL, which is a step up for my workflow, anyway.
Getting started
- Install Python 3.9+
- Install FFmpeg and make sure it's in your system path by opening a command line/terminal and typing "ffmpeg"
- Download this repository (or clone it)
- (I'll explain the rest later, I'm in development)
Acknowledgments
You can see requirements.txt
for all of my dependencies, but I'm relying heavily on pytube
and pydub
, both of which are doing an incredible amount of heavy lifting in this script. Thanks to those projects.
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
Built Distribution
Hashes for pythief_dj-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1580dcedf172c08d27b30223fb5253ca33572410b7b155e6a16f7ecd2f3f2ecd |
|
MD5 | 0338d4ca01188abdd99e260bc17334ad |
|
BLAKE2b-256 | 44bde5b1987c118d3a766b4f492e02c0ecc3a0e2b3858efc9419d45c83e526a1 |