I have 7 functions inside the script. How to let user choose to run function number 1 & 5 & 7, or 2 & 3 … for example. Instead of running all 7 functions ?
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