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.
Strange error when downloading from "youtube.com/watch?v" #14718
Comments
|
Controlling proper escaping or quoting is responsibility of a user not youtube-dl. Needless to say it's technically impossible to know whether the original URL contained unescaped |
|
I didn't ask to control escaping. I asked for the error to be more informative, assuming it might have been ruined by escaping or user error. |
What I think should happen instead of this is
I believe this behavior should be implemented is because if you use
youtube-dlin a batch script, this error might happen because of the=being ignored by a parsing error if the URL is not enclosed in double-quotations when invoked.Possibly you could check if the program is running from a batch script on Windows and return
ERROR: Put URL in double-quotes?