i am new to this particular library and cannot find how to extract audio and save it to a file in yt-dlp.
My code right now is:
system("youtube-dl -x -q -o \'" + PATH_TO_SAVE + song + ".%(ext)s\' \'" + link + "\'")
Whenever i run this, I receive an error -
youtube-dl: error: Cannot download a video and extract audio into the same file! Use "'C:\Users\Jeet\Desktop\Projects\PythonProjects\SpeechRecognition\Hitler.%(ext)s" instead of "'C:\Users\Jeet\Desktop\Projects\PythonProjects\SpeechRecognition\Hitler" as the output template Downloaded Godzilla
Please help me with this