there is an option to select default quality but if default quality is not found script just asks the user and if there is 30+ and the desired quality is not found user needs to manually select each time
I suggest a fallback quality array
[480p,360p,720p]
in above if 480p is not found the script will select 360p if still not found then 720p and if there is only 1 quality in an array then manual selection as current
above array can be arranged as user needs the fallback to be selected or just put 1 if need only 1 quality and go manual if not found
there is an option to select default quality but if default quality is not found script just asks the user and if there is 30+ and the desired quality is not found user needs to manually select each time I suggest a fallback quality array
[480p,360p,720p]
in above if 480p is not found the script will select 360p if still not found then 720p and if there is only 1 quality in an array then manual selection as current above array can be arranged as user needs the fallback to be selected or just put 1 if need only 1 quality and go manual if not found