I have managed to successfully download.
I also have one more question - is there a code that converts the file downloaded to an mp4/mkv format with 0 loss of quality?
This is because I have an m3u8 file (which is not compatible with many programs to watch on), and hence would like to convert either to mp4/mkv.....so if there is a code that I have to input into cmd to convert to a user-friendly format, I would be grateful if you could let me know

)
Hopefully, that's the last of my questions! Thank you in advance!!