Comment

Comment by Cyberdog

You'll want to surround the pasted URL with quotes, or else the question mark in all non-shortened YouTube video URLs will confuse the shell.

Also, I suggest adding `-f mp4` to avoid getting a video in Google's proprietary video format. (Yes, I know, but basically…)

yt-dlp -f mp4 'https://www.youtube.com/watch?v=dQw4w9WgXcQ'

parent Cyberdog 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton