user234683 / youtube-local

browser-based client for watching Youtube anonymously and with greater page performance
GNU Affero General Public License v3.0
486 stars 62 forks source link

Error message in video: "The following content is not available on this app..." #205

Closed metrast closed 4 months ago

metrast commented 4 months ago

I am on macOS and use the latest version of youtube-local 2.8.7 and on some videos i get these messages in the video player:

Screenshot 2024-03-28 at 15 31 31

Some other videos work just fine.

The specific video I wanted to watch here was this one: https://www.youtube.com/watch?v=2tjcx1rTQio

MBCX commented 4 months ago

Yeah. Same here too, though, for your video example it worked fine for me, but others not.

If you reload the video enough times the video eventually starts playing.

fislysandi commented 4 months ago

same there, it happens no matter the platform you are on.

seems like youtube doesnt like that we watch videos without loading all the javascript framework bloat.

metrast commented 4 months ago

Yeah. Same here too, though, for your video example it worked fine for me, but others not.

If you reload the video enough times the video eventually starts playing.

You are right. Reloading eventually fixes it.

diegovskytl commented 4 months ago

Same issue here, seems to be platform, browser and location independent.

MBCX commented 4 months ago

I've been bug-hunting this issue and I think I found a pattern.

At least to me, this error occurs only with not-seen-before videos, if you go to a video you already watch, the possibilities of this error occurring its lower.

I still don't know what is causing this and where its happening though.

My hypothesis is that maybe this could be related to #201, some out of date values in the code are triggering this.

MBCX commented 4 months ago

OK. Nevermind the above.

While debugging the application, the issue seems to be in how the app is extracting the video. Sometimes (pretty much at random), the extraction will "fail" and YouTube itself will return the infamous "Video Not Available" by "YouTube Viewers", which then results in what we see here.

user234683 commented 4 months ago

Seemed to find the issue; made a new release. Let me know if it still doesn't work

MBCX commented 4 months ago

On my end, it works perfectly! Tested with 10 different videos and went OK

MBCX commented 4 months ago

Oh, nevermind, spoke too soon =(.

image

Link to video tested

ericpa06 commented 4 months ago

It's affecting other alternative front-end for youtube as well. Related thread:

https://github.com/iv-org/invidious/issues/4498

user234683 commented 4 months ago

Since NewPipe doesn't seem to have the problem (no issue open and that video works), we should copy their extraction method

dmbarrad commented 4 months ago

same issue here, I think I might just give up on youtube entirely. this is just too much hustle to fix their own issues, and now they want to force it on us, I think abandonment is the way.

user234683 commented 4 months ago

https://github.com/yt-dlp/yt-dlp/issues/9554 Here is the yt-dlp issue; I noticed yt-dlp is using the ios client instead. I tested it and that one appears to work. I pushed a new release, let me know if the issue persists

user234683 commented 4 months ago

same issue here, I think I might just give up on youtube entirely. this is just too much hustle to fix their own issues, and now they want to force it on us, I think abandonment is the way.

The long term goal of youtube-local has been to support alternative platforms such as LBRY, odysee, vimeo, and rumble to help people migrate away from youtube as much as possible; I just don't have the free time anymore to make it happen

astounds commented 4 months ago

The long term goal of youtube-local has been to support alternative platforms such as LBRY, odysee, vimeo, and rumble to help people migrate away from youtube as much as possible; I just don't have the free time anymore to make it happen

I'm grateful for the work you @user234683 do keeping youtube-local. I also know that the optimal thing is for video producers to migrate to self-hosted platforms like peertube, mediagoblin, etc.

sseodate commented 2 months ago

hi @user234683 is this issue fixed ? i got more report back then!

user234683 commented 2 months ago

On Mon, 2024-05-06 at 03:22 -0700, sseodate wrote:

hi @user234683 is this issue fixed ? i got more report back then! — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

Yes it is fixed

sseodate commented 2 months ago

Sorry, as i checked, i am still got error to get mix link (stream video w sound) even i upgraded to latest version.