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
How to fetch login and password from the base txt (many lines of "user:pass" format)
-
Use javascript
.split(":")method. Example : https://community.bablosoft.com/post/68709
