Open sunkarisukesh opened 1 year ago
not sure if still relevant but I've encountered the same issue, and managed to fix it by adding an extra backslash, in your case would work with this path:
"C:\\Users\\sukesh\\Desktop"
.
you can also add 'r' right before the path string
Yes, I have modified this old script, and it works Perfectly. As for why the old code was not working, the error you encountered, IndexError: list i
ndex out of range, was because you were trying to access argv[1]
to get the YouTube URL from the command-line arguments
is this issue still open ?
I solved this problem by putting (0) instead of (1) and also inverting the slash and it worked