tubesync icon indicating copy to clipboard operation
tubesync copied to clipboard

Handle "premium" streams properly

Open meeb opened this issue 2 years ago • 2 comments

Some media formats are now flagged as "premium" and require authentication and a subscription (such as cookies.txt exported from a YouTube account with a YouTube premium subscription) to access. Given it's likely a bad idea to use a YouTube premium account with TubeSync it would be a reasonable idea to ignore all premium streams entirely when selecting streams.

Currently, premium streams can be selected but then fail to download causing a permanent download failure for the media.

See #368 for some other peoples investigatory work into premium stream skipping for reference.

meeb avatar Dec 08 '23 15:12 meeb

I would actually prefer to download premium streams (I have a premium account) 🙂 (edit: well, now you put fear in me)

Also, coming from my experience on Tube-Archivist, I suspect the errors presented on #397 could be related to rate-limits, as using a different IP address would often allow the download to go through. This needs to be confirmed by those affected by such incident.

fishnux avatar Feb 22 '24 17:02 fishnux

@ZTiKnl I don't think this issue is related to premium streams, your issue looks to be an application block. Your tubesync instance requested https://www.youtube.com/watch?v=BBWmRvIT0QY however it received information on https://www.youtube.com/watch?v=aQvGIIdgFDM after a redirect. I'm not entirely sure what https://www.youtube.com/watch?v=aQvGIIdgFDM is - it appears to be a 5 minute video showing a not available with your application error, although I don't know why this would exist. It does seem to be an actual official YouTube video though at first glance.

As to why your tubesync instance gets redirected to an error page but the web browser works on the same IP I would assume the video you want to download is flagged to only work in a web browser and not on mobile devices. A lot of the time yt-dlp uses the data for mobile clients to download videos which would impersonate a mobile app.

I've not personally seen this behavior before. It's likely more something for yt-dlp to look at.

meeb avatar Apr 03 '24 04:04 meeb