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 set a global while statement to reload in case of error
-
Hello guys. working on a thing that will run many actions inside one website. If at some point the page does not load it give a blanket error message "your content could not be loaded... please reload the page"
How can i make a global while statement so that while this message is on the page to reload current url?