NewPipeExtractor icon indicating copy to clipboard operation
NewPipeExtractor copied to clipboard

Could we input Youtube premium account to get parse link to avoid new Server Injection mechanize that from YT

Open sseodate opened this issue 1 year ago • 3 comments

Could we use YT premium account and use that account to get parse link and play from that parse link wo ads ?. I heard that YT is doing cook with server injection ads into video stream ?

sseodate avatar Jun 20 '24 08:06 sseodate

Newpipe considers no logins to be a privacy feature. That's unlikely to change.

opusforlife2 avatar Jun 21 '24 22:06 opusforlife2

It's against YouTube ToS, if YouTube discovered that then the account would likely be terminated (same with free account), so it's not recommended to use your account cookie for webscraper in general

oong819 avatar Aug 08 '24 04:08 oong819

This issue is solved 2 weeks ago by Invidious team:

What's new in a few details for fixing the error message `"This helps protect our community."``:

  • You will have to run a separate tool called inv_sig_helper which handle the "deciphering" of the video stream fetched from YouTube servers. Thanks @techmetx11 for the development of this tool.
  • You will have to generate two identity tokens (po_token and visitor_data) in order to pass all the checks on YouTube side. This will increase the traceability of your Invidious session from YouTube side, but we are going to develop a tool to regenerate those tokens periodically in order to avoid YouTube using them to track you.

For the moment, we are only providing a tool that generate them once, it's called youtube-trusted-session-generator. You have been warned of the current risk.

artshevtsov avatar Aug 30 '24 18:08 artshevtsov