Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Updated 11/02/2025
- IMPORTANT:
- If the script ever stopped working, try updating it with
- pip install -U yt-dlp
- Install Python
- IMPORTANT: check the “Add python.exe to PATH” box during the installation process
- https://www.python.org/downloads/
- If it didn't come with Python, install PIP:
- — Open CMD
- — Check if “pip” works, otherwise install it with “python get-pip.py”
- Install the script with this command:
- pip install yt-dlp
- these steps should be optional in the present day:
- {
- Install Chocolatey:
- https://chocolatey.org/install
- PowerShell (admin rights) install Dub:
- choco install dub
- }
- Download, extract & place the required FFbinaries from columns
- - ffmpeg.exe
- - ffprobe.exe
- from here:
- https://ffbinaries.com/downloads
- in the ypt-dp folder. To find it, use the following command:
- where yt-dlp
- It should look like C:\Users\USERNAME\AppData\Local\Programs\Python\PythonXXX\Scripts\
- where XXX is your Python version.
- Paste your EXE files in there and you're done.
- USAGE:
- — cd C:\Users\USERNAME\Downloads
- or shorter
- — cd downloads
- or even shorter
- — open explorer in your desired folder, type “cmd” in the address bar and press Enter
- (this sets the download folder)
- then, paste your customized URL and Enter
- yt-dlp --sponsorblock-remove all https://www.youtube.com/watch?v=Tb4JZI_r_ho
- [default, with sponsorblock]
- yt-dlp --sponsorblock-remove all -x --audio-quality 0 --audio-format mp3 _p7HaMq9iEM
- [download as mp3]
- yt-dlp --sponsorblock-remove all -x --audio-quality 0 --audio-format mp3 --embed-thumbnail --embed-metadata _p7HaMq9iEM
- [download as mp3 with thumbnail and metadata]
- More syntax info here:
- https://github.com/yt-dlp/yt-dlp#general-options
- Update yt-dlp:
- py -m pip install -U yt-dlp
- or
- pip install -U yt-dlp
- NEWS:
- I made an addon for Firefox that automatically makes the cmd command. Check it out here and leave a review if you found this guide helpful, please.
- https://addons.mozilla.org/firefox/addon/yt-dlp-cmd-generator/
Advertisement
Add Comment
Please, Sign In to add comment