Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Can't download video by ID if starts with hyphen #2970
Comments
|
Ah, I can use the full URL. |
|
Like virtually all command-line programs, dashes are for options (unquoted or not, that only makes to shell parsing, youtube-dl gets the same inputs either way). Use the convention of
or (as you have discovered yourself) prepend the URL with |
Can't seem to download a video by ID if it starts with a hyphen, e.g.
youtube-dl -1WR2z4MK8Q
youtube-dl -e -1WR2z4MK8Q
youtube-dl -o "filename" -i --write-description "-1WR2z4MK8Q"
I've tried both types of quotes, escaping the hyphen, etc., to no avail.
On Ubuntu linux.