Youtube-dl-Wrapper is a Bash script for Linux that makes using youtube-dl a little easier.
Go to file
Peter Green 14fd145606 Fix typo's and update dates. 2023-01-22 15:56:43 +00:00
LICENSE Initial commit 2023-01-07 19:47:03 +00:00
README.md Add desktop menu and edit README.md 2023-01-08 15:32:30 +00:00
YT-DL.sh Fix typo's and update dates. 2023-01-22 15:56:43 +00:00
YouTube-DL.svg "nd attempt to upload files 2023-01-07 19:47:56 +00:00
db.txt Initial commit 2023-01-07 19:47:03 +00:00
dbpyer.txt Initial commit 2023-01-07 19:47:03 +00:00
dbytdl.txt Make sed edit desktop shortcut in final place, rather than before copying. 2023-01-22 15:46:02 +00:00
install.sh Make sed edit desktop shortcut in final place, rather than before copying. 2023-01-22 15:46:02 +00:00
menu.desktop Add desktop menu and edit README.md 2023-01-08 15:32:30 +00:00
python-error.sh Update install script. 2023-01-08 15:50:48 +00:00
uninstall.sh Update uninstall script. 2023-01-08 16:00:14 +00:00

README.md

About

Youtube-dl-Wrapper is a Bash script for Linux that makes using youtube-dl a little easier, but is basically just an exercise in learning Git, GitKraken, Intellij and Bash for me.
I hope to update and improve this code as well as maybe adding a Zenity front end over time.

Installation

You don't need to install youtube-dl-wrapper, but as part of ensuring and enabling it works as expected, installing helps.

To install, run the installation script in the main directory - ~/YT-DL/Yt-DL.sh. This will check to see if you have youtube-dl installed and if you don't, it will install it. It installs to /home/{user}/bin/YT-DL I have chosen to download youtube-dl directly from their release page (https://github.com/ytdl-org/youtube-dl), in order to get the latest version, but you can install it from your distro's repo' before installing this script if you'd rather. Note that this script does keep youtube-dl up to date by periodically checking the main repo for updates and applying them if needed.

Run

You should find a menu entry under 'Other'.

Your video will be downloaded to your Desktop.

Uninstall

If you wish to uninstall this app, then you can do so by running the 'uninstall.sh' script. This should only uninstall components that were installed when you installed youtube-dl-wrapper, so if you had previsouly installed youtube-dl yourself, or manually added the 'usr/bin/python' link, you will need to uninstall them yourself manually.

::NOTE::

You can have issues if youtube-dl can't find python, to fix this you can create a symlink.

If you get the error "/usr/bin/env: 'python': No such file or directory" then you can run the included script; 'python-error.sh' or open a terminal and execute this code...

sudo ln -s /usr/bin/python3 /usr/bin/python