youtube-dl downloads neither videos nor mp3. This is the command I use:
youtube-dl --extract-audio --audio-format mp3 <Youtube URL>
The output:
m62iekbg9eo: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
The version is 2018.03.14. I upgraded it using pip and it said it is upgraded. But when I asked the version youtube-dl --version
it still shows me 2018.03.14.
So I deleted youtube-dl and installed it again with pip. The commands I used:
sudo apt-get remove youtube-dl
sudo apt-get install python-pip
pip install --user youtube-dl
But now, when I try to donwload an mp3 it says:
bash: /usr/bin/youtube-dl: No such file or directory
Also I use 18.04.3 LTS
apt
package tools if you removed it before usingpython-pip
to upgrade/install it. I suspect you've two versions installed; but it's unclear from your description.