What is Nostr?
Command Line Magic /
npub17hc…tk0h
2023-05-02 13:59:47

Command Line Magic on Nostr: With yt-dlp, it's essential to know about the -F and -f options to control the format ...

With yt-dlp, it's essential to know about the -F and -f options to control the format and size of the video that you download. Use -F first to get a list of formats, maybe combine that with | grep -v "video only" to exclude those, then use -f with the format number. Otherwise you could waste a lot of space and bandwidth when you don't mean to.
yt-dlp -F id | grep -v "video only"
yt-dlp -f 22 id

Author Public Key
npub17hcswhel45t4tnh3a7gzf4f74lfyafrq8qe3nlaejj0nk63umcdqcxtk0h