Open amarant24 opened 1 year ago
As a workaround for others finding this thread, you can download the latest yt-dlp binary here: https://github.com/yt-dlp/yt-dlp/releases
and then copy it to here: C:\Users\$user\AppData\Local\Programs\youtube-dl-gui\resources\app.asar.unpacked\binaries
that will get things working again until the updater issue is fixed.
Whats the work around for OSX?
Whats the work around for OSX?
I'm sorry but I don't have OSX available to test. The principle should be the same though. Grab the latest binary from https://github.com/yt-dlp/yt-dlp/releases and use it to replace the current binary in your installation path.
I found a work around for OSX Use your terminal to navigate into the package of youtube-dl-gui path: "/Applications/Open\ Video\ Downloader.app/Contents/Resources/app.asar.unpacked/binaries/"
Then use the update comand on the binary "./yt-dlp-unix -U" You also need to open the ytdlVersion file with a text editor and update the version number inside
FYI - I got the MacOS version...
For anyone not so tech-savvy, who needs help, the following commands should help (run them in the Terminal App)...
(The commands assume that Open Video Downloader is stored in the /Applications/ folder - if not, then adjust the first cd /Applications/Open\ Video\ Downloader.app/
command appropriately).
(Note I start each command with sudo sh
just incase sudo is required, but on my system everything worked without the sudo... And you'll have to type your password after the sudo sh
command).
sudo sh
cd /Applications/Open\ Video\ Downloader.app/
cd Contents/Resources/app.asar.unpacked/binaries/
mv ./yt-dlp-unix ./yt-dlp-unix-backup
mv ./ytdlVersion ./ytdlVersion-backup
curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o ./yt-dlp-new
mv ./yt-dlp-new ./yt-dlp-unix
chmod a+rx ./yt-dlp-unix
echo "{\"version\":\"$(./yt-dlp-unix --version)\"},\"ytdlp\":true}" > ytdlVersion
exit
If this doesn't work, then you can undo the changes by using:
sudo sh
cd /Applications/Open\ Video\ Downloader.app/
cd Contents/Resources/app.asar.unpacked/binaries/
mv ./yt-dlp-unix-backup ./yt-dlp-unix
mv ./ytdlVersion-backup ./ytdlVersion
exit
On the other hand, if this does work, then you can clean up the backup files:
sudo sh
cd /Applications/Open\ Video\ Downloader.app/
cd Contents/Resources/app.asar.unpacked/binaries/
rm ./yt-dlp-unix-backup
rm ./ytdlVersion-backup
exit
For those not aware, open video downloader in this repo hasn't been updated since 2020. The fork below seems to actively maintained and has fixed this issue, so switching to this fork seems to be the better option going forward:
Open Video Downloader will not download any new videos due to outdated yt-dl binary without support. The yt-dlp binary will work but isn't being downloaded by the app. Maybe add an option to use yt-dlp binary or scrap the yt-dl binary all together and just upgrade to yt-dlp. How to reproduce? Try and download any video...