MX 19.4 xfce 64bit - yt-dlp - how to remove string in brackets, please?
by Snugbug from LinuxQuestions.org on (#5SXF8)
Using youtube-dl with no options afterwards, I used to get the file with the file name, followed by its extension.
But now, with the successor of youtube-dl, called yt-dlp, using it alike, I'm getting a file with the file name, followed by some brackets like this [] and a string inside, according to the final section of the url of the wanted clip and then, there's the file extension.
How can I remove the brackets and the string inside, in order to have only the file name and its extension, like it used to be with youtube-dl, please?
But now, with the successor of youtube-dl, called yt-dlp, using it alike, I'm getting a file with the file name, followed by some brackets like this [] and a string inside, according to the final section of the url of the wanted clip and then, there's the file extension.
How can I remove the brackets and the string inside, in order to have only the file name and its extension, like it used to be with youtube-dl, please?