@tet-vivi I open the BAS script only with 10 threads right now because of the low CPU/RAM. 10 threads are working for 7 minutes and then close the browser and sleep for 30 minutes.
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