Try printing ( with log) the command you are trying to execute, run it in a seperate command line to see if it's working properly.
since it's related to input I am suspecting the problem is with the youtube url you are providing
thread failing with weird error
-
https://gyazo.com/7f5ba2c5b23fe5c61be9f5923f12a29a
anyone know what it means?