I want to set the script parameters through command-line parameters, and then when running, users don't need to fill in the parameters; they can run directly
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
@ahmad
It looks like you're trying to load these characters through the browser's address bar, like "VL8LIKZ7fPQ". Probably you have some problem in the logic of the script.