MrS0m30n3 / youtube-dl-gui

A cross platform front-end GUI of the popular youtube-dl written in wxPython.
The Unlicense
9.23k stars 1.58k forks source link

youtube-dlg update error #484

Open ip018 opened 3 years ago

ip018 commented 3 years ago

Please follow the guide below

WARNING

All invalid issues will be rejected!!


Before going further


What is the purpose of your issue?

Please remove any sections between (---) if they are not related to your issue


Bug report

If the problem occurs when downloading a URL please provide the full verbose output as follows:

  1. Restart youtube-dl-gui
  2. Go to Options > Extra tab
  3. Enable Debug youtube-dl
  4. Go to Options > Advanced tab and Clear your log content
  5. Try to download the URL
  6. Copy the whole log content and insert it between the ``` part below
delete me and insert your log content here

What operating system do you use ?

Windows 7 Home Premium 64 bit

List of actions to perform to reproduce the problem:

  1. Open youtube-dlg
  2. Open settings
  3. Select "update"

What is the expected behaviour ?

It should say "downloading latest youtube-dl. please wait...", and then after a few seconds say something like "youtube-dl downloaded successfully.".

What happens instead ?

It says "downloading latest youtube-dl. please wait...", but then after a few seconds it says "youtube-dl download failed [http error 403: forbidden]".

youtube-dlg 1

youtube-dlg 2


Feature request (request for a new functionality)

Please make sure that the requested feature is NOT already in the TODO list

What operating system do you use ?

Windows 7 Home Premium 64 bit


When you go to youtube-dlg's settings and select "update", it says "downloading latest youtube-dl. please wait...", but then after a few seconds it says "youtube-dl download failed [http error 403: forbidden]". This issue never used to happen before, and it always used to just download the update successfully and say "downloading latest youtube-dl. please wait...", and then after a few seconds say something like "youtube-dl downloaded successfully." without any issues. Nothing has changed with the program installation or settings. Is there a way to fix that? Thanks.

Technetium1 commented 3 years ago

This https://github.com/MrS0m30n3/youtube-dl-gui/blob/c5c18e55cb7e04fb6d6d8e64024a7dbac1f6b431/youtube_dl_gui/updatemanager.py#L48 needs to be changed to https://youtube-dl.org/downloads/latest/youtube-dl

If you're on windows you can download youtube-dl.exe and place it in %AppData%\youtube-dlg

UltraBlackLinux commented 3 years ago

Does not work for me, still 403

lunarbunny commented 3 years ago

This

https://github.com/MrS0m30n3/youtube-dl-gui/blob/c5c18e55cb7e04fb6d6d8e64024a7dbac1f6b431/youtube_dl_gui/updatemanager.py#L48

needs to be changed to https://youtube-dl.org/downloads/latest/youtube-dl.exe

If you're on windows you can download youtube-dl.exe and place it in %AppData%\youtube-dlg

The equivalent path for linux would be ~/.config/youtube-dlg/

I simply overwrote it using the latest version installed from pip: cat ~/.local/bin/youtube-dl > .config/youtube-dlg/youtube-dl

RedBreloom commented 3 years ago

This

https://github.com/MrS0m30n3/youtube-dl-gui/blob/c5c18e55cb7e04fb6d6d8e64024a7dbac1f6b431/youtube_dl_gui/updatemanager.py#L48

needs to be changed to https://youtube-dl.org/downloads/latest/youtube-dl.exe

If you're on windows you can download youtube-dl.exe and place it in %AppData%\youtube-dlg

I have the windows exe version so I tried to replace the .exe in the specified directory, but it doesn't appear to have done anything for me either. Do I need to update something else?

Technetium1 commented 3 years ago

@RedBreloom Edited my comment, it shouldn't have .exe

RedBreloom commented 3 years ago

@RedBreloom Edited my comment, it shouldn't have .exe

I am using the windows executable version of this app so I am not sure how to access the code directly and trying to replace the youtube-dl.exe in appdata it doesn't seem to fix this issue. I also realized that this error post is not the same as the one i have. But another person who had the same problem as I was directed to this post so I figured i'd ask here as well. i'm not really sure what to do otherwise.

https://github.com/MrS0m30n3/youtube-dl-gui/issues/488

for reference

Technetium1 commented 3 years ago

@RedBreloom make sure youtube-dl isn't in your path somewhere else already, if all else fails remove it all and try again. You should probably make another issue if this persists.

tronics commented 3 years ago

What you need on Windows is this library: https://www.microsoft.com/en-US/download/details.aspx?id=5555 This is what makes it work on a freshly installed Windows 10.

All of the above commentary is not necessary since the library is back on Github despite interventions from Google.

erhan- commented 3 years ago

What you need on Windows is this library: https://www.microsoft.com/en-US/download/details.aspx?id=5555 This is what makes it work on a freshly installed Windows 10.

All of the above commentary is not necessary since the library is back on Github despite interventions from Google.

Yep this is what I do on all systems of friends where I install youtube-dl-gui. I always had to search inside the closed Issues for the link.

Just tested on a freshly installed system. It works as usual. Too bad this is not more visible.

RedBreloom commented 3 years ago

As a note: I already had a more recent version of that redis installed on my computer. So I don't think that mattered for my case.. It doesn't seem like this program is being maintained anymore anyway, so I've been using tartube for now.