TS3AudioBot icon indicating copy to clipboard operation
TS3AudioBot copied to clipboard

Youtube-DL is fried, so the TS3AudioBot isn't working.

Open itseyup opened this issue 2 years ago • 12 comments

Describe the bug Since the yesterday bot wasn't opening the musics. I checked and there was a problem with the youtube-dl. There was a patch released by yt-dlp but I couldn't get it done with TS3AudioBot. I renamed the yt-dlp to youtube-dl, specified the youtube-dl path on ts3audiobot.toml but still it isn't working.

To Reproduce Just search a youtube music from youtube

Version Latest version.

Platform Ubuntu 20.04 LTS Focal Lossa I'am running ELF

Log There isn't log on the screen session.

itseyup avatar Feb 17 '23 11:02 itseyup

Try just adding this file inside of /usr/local/bin/ rename it from yt-dlp into youtube-dl After that changes permissions of the file to 777 and give it a try, I have tested this method and it works. For further questions I'm here. "File"

The link you provided isn't working.

b0siak avatar Feb 17 '23 20:02 b0siak

Try just adding this file inside of /usr/local/bin/ rename it from yt-dlp into youtube-dl After that changes permissions of the file to 777 and give it a try, I have tested this method and it works. For further questions I'm here. "File"

I have already told you that I have tried that method. It didn't work out for me.

itseyup avatar Feb 17 '23 20:02 itseyup

even if you put yt-dlp with permissions it wont work, we need to wait for update

xaynn avatar Feb 18 '23 13:02 xaynn

Using yt-dlp instead of youtube-dl fixed the problem for me on Ubuntu 22.04, even without changing any permissions or name of the binary. Does the bot produce the same error as with youtube-dl when you switch to yt-dlp?

Loupeznik avatar Feb 18 '23 16:02 Loupeznik

https://github.com/ytdl-patched/yt-dlp/releases/tag/2023.02.17.334 This version works, I have tested it. Currently this one works just repeat this steps.

Try just adding this file inside of /usr/local/bin/ rename it from yt-dlp into youtube-dl After that changes permissions of the file to 777 and give it a try, I have tested this method and it works. For further questions I'm here. "File"

sure, i downloaded incorrect version now its working

xaynn avatar Feb 19 '23 16:02 xaynn

https://github.com/ytdl-patched/yt-dlp/releases/tag/2023.02.17.334 This link is not working, can you send a new one?

opZ1ca avatar Feb 21 '23 06:02 opZ1ca

You just have to copy the link manually and paste it in browser URL field.

b0siak avatar Feb 21 '23 11:02 b0siak

This link is not working, can you send a new one?

Sadly, the text of the link isn't the same as the link target (which is a broken mess: https://github.com/Splamy/TS3AudioBot/issues/url) ...

Below link will yield the most-up-to-date release of youtube-dl "daily" builds at the time the link is clicked: https://github.com/ytdl-patched/youtube-dl/releases/latest (2023.02.22.114514 as I type this 😜 ).

Vangelis66 avatar Feb 22 '23 22:02 Vangelis66

The fix I use: #1059

Error description

Somewhere in the last couple days it stopped working. https://github.com/yt-dlp/yt-dlp/releases/tag/2024.08.06 didn't help.

Error: Could not load. (youtube-dl failed to load the resource.)

My setup

ts3audiobot.toml

[tools]
#Path to the youtube-dl binary or local git repository.
youtube-dl = { path = "./yt-dlp_linux" }

yt dlp is set as executable.

yt-dlp error

$ ./yt-dlp_linux https://www.youtube.com/watch?v=dQw4w9WgXcQ
[youtube] Extracting URL: https://www.youtube.com/watch?v=dQw4w9WgXcQ
[youtube] dQw4w9WgXcQ: Downloading webpage
[youtube] dQw4w9WgXcQ: Downloading ios player API JSON
[youtube] dQw4w9WgXcQ: Downloading web creator player API JSON
ERROR: [youtube] dQw4w9WgXcQ: Sign in to confirm you’re not a bot. This helps protect our community. Learn more

Update

It works with cookies, I'll try to see if there's an easy way to make it use cookies

Windows200000 avatar Aug 08 '24 21:08 Windows200000

We're using this auth plugin for yt-dlp https://github.com/coletdjnz/yt-dlp-youtube-oauth2 to login with a google account. Works so far on our server.

Splamy avatar Aug 09 '24 16:08 Splamy