You need the quotes for it to work, but this is an acceptable method for searching for youtube videos from the terminal. I've also made a tool called ytsrx.sh that performs a search using youtube-dl from the command line behind torsocks. Forked from tubesearch. Available in the usual locations.