Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Check available formats:
- -F then -f
- -F: Check available formats for file
- -f: Download file in chosen format from its respective number (I.E, 18, 22 are usually best quality MP4)
- Extract just the audio from file:
- --extract-audio / -x
- Trim the length of file name: (File won’t download if the title is too long)
- --trim-filenames [LENGTH] (I.E, 10, 12, 15, etc.)
- Extract certain part of a file: If the file DOES have chapters:
- --download-section *[TIMESTAMP]-[TIMESTAMP]
- If the file DOESN’T have chapters:
- --force-keyframes --download-section *[TIMESTAMP]-[TIMESTAMP]
- If the file is a YouTube video, right click on the video after pausing on the start of where you want the video to begin. Click on ‘Copy video URL at current time’. Do this for where you want the video/audio file to begin and end.
- For example: yt-dlp --force-keyframes --download-section *688-731 [URL]
- NOTICE: If downloaded file does not have video, but does have audio; re-download the video in a different format. You can do this using the ‘-F / -f’ tool
- Download the thumbnail, description or subtitles:
- --write-thumbnail
- --write-description
- --write-subtitles
- Download thumbnail but not the video:
- --skip-download --write-thumbnail
- --skip-download --write-description
- --skip-download --write-subtitles
- Downloading videos from sites that require cookies: Sometimes, a site (Like Instagram) needs your cookies to get the download. So, while logged into the respective browser, use: --cookies-from-browser [BROWSER NAME]
- Current supported browsers: brave, chrome, chromium, edge, firefox, opera, safari, vivaldi
- Download a livestream while it is still live:
- --live-from-start
- Get ready for youtube-dlp to start downloading a livestream before it starts:
- --wait-for-video
- Download a video in the best available video and audio quality:
- -f bv*+ba/b
- Embed subtitles onto downloaded video:
- --embed-subs
- Embed thumbnail onto downloaded video:
- --embed-thumbnail
- Embed metadata onto downloaded video:
- --embed-metadata
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement