Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download media 404 #94

Open
konamichou opened this issue Aug 9, 2024 · 7 comments
Open

Download media 404 #94

konamichou opened this issue Aug 9, 2024 · 7 comments

Comments

@konamichou
Copy link

Several hours ago, downloading media files started resulting in 404 errors.
The update list is still working fine.
The system has been functioning properly for several months prior to this issue.
I've confirmed that there's sufficient quota remaining for the apk key.
Youcast 2.24.
August 9, 2024

@dirkschut
Copy link
Contributor

My downloads have also started 404'ing since this morning. Feeds update fine, it's just the downloads that don't work anymore... @i3arnon I think youtube explode will need to be updated. V6.4 was released at the end of July https://github.com/Tyrrrz/YoutubeExplode/releases

@qtlin
Copy link

qtlin commented Sep 25, 2024

@dirkschut new release won't help, read an issue in YoutubeExplode project.
For YouCast to work properly it should allow passing either browser login cookie like yt-dlp --cookies-from-browser does or any other way to authenticate with youtube.

@dirkschut
Copy link
Contributor

That sounds like a nightmare... And as far as I can see, yt-dlp recommends not sending existing cookies with your requests because they van have your accounts banned or something: yt-dlp/yt-dlp#10085 and yt-dlp/yt-dlp#10108

@oddtoddy
Copy link

Thanks for posting this. I thought it was just me.

@maxol18
Copy link

maxol18 commented Sep 28, 2024

Hi @i3arnon

Do you kniw if this can be patched ?

Best regards

@oddtoddy
Copy link

Looks like YouTube Explode has been updated now
https://github.com/Tyrrrz/YoutubeExplode/releases/tag/6.4.2

@dirkschut
Copy link
Contributor

dirkschut commented Nov 8, 2024

Looks to me like the best solution would be to authenticate with OAuth to download the videos. Unfortunately, Youtube Explode doesn't currently support this, but from what I've read it can be done with yt-dlp (which is a console application) with this wrapper to use it in C#: https://github.com/Bluegrams/YoutubeDLSharp . That way we can still use the old explode code to get the feeds, but pass the downloads over to DLSharp to download the video, then pass that over to the client... Kinda cumbersome, but probably the easiest solution that currently exists...

Edit: I'll see if I can patch together a prototype over the weekend...
Edit2: Unfortunately I've been confined to my bead because of a concussion so I haven't been able to play around with this yet...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants