Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Updated 28/01/2024
- Install Python (IMPORTANT: check the “Add python.exe to PATH” box)
- https://www.python.org/downloads/
- If it didn't come with Python, install Pip (check by writing “pip” in cmd, otherwise type “python get-pip.py” inside CMD)
- Install infrastructure 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 FFbinaries (ffmpeg.exe & ffprobe.exe columns) from here:
- https://ffbinaries.com/downloads
- in the ypt-dp folder (to find it, paste the following in cmd)
- where yt-dlp
- (It should look something like C:\Users\USERNAME\AppData\Local\Programs\Python\PythonXXX\Scripts\)
- INSTALLED!
- USAGE:
- cd C:\Users\USERNAME\Downloads
- or shorter
- cd downloads
- (this sets the download folder)
- yt-dlp --sponsorblock-remove all https://www.youtube.com/watch?v=Tb4JZI_r_ho
- [new]
- 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 simply
- 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
Advertisement