Article 5SXF8 MX 19.4 xfce 64bit - yt-dlp - how to remove string in brackets, please?

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?latest?d=yIl2AUoC8zA latest?i=zAT3eVcalAE:kS9AnFkt-sA:F7zBnMy latest?i=zAT3eVcalAE:kS9AnFkt-sA:V_sGLiP latest?d=qj6IDK7rITs latest?i=zAT3eVcalAE:kS9AnFkt-sA:gIN9vFw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments