NewPipe icon indicating copy to clipboard operation
NewPipe copied to clipboard

[fr] optional YT login to circumvent IP bans

Open throwaway242685 opened this issue 7 months ago • 11 comments

Checklist

  • [x] I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • [x] I have read the FAQ and my problem isn't listed.
  • [x] I'm aware that this is a request for NewPipe itself and that requests for adding a new service need to be made at NewPipeExtractor.
  • [x] I have taken the time to fill in all the required details. I understand that the feature request will be dismissed otherwise.
  • [x] This issue contains only one feature request.
  • [x] I have read and understood the contribution guidelines.

Feature description

an option to login with our YT credentials would be great to circumvent IP bans on NewPipe.

yes, I know that the point of NewPipe is to be as much as privacy-oriented as possible.

but with all the aggressive changes that Google has done recently, I don't think there's any other alternative.

when you get hit with an IP ban, the app literally becomes useless.

you can't watch any video, everything throws an error.

Why do you want this feature?

when you get hit with an IP ban, you can't watch any video.

everything throws an error.

NewPipe was perfectly usable anonymously 5 years ago; but that's not the case anymore.

Additional information

and yes, I know that PipePipe exists, but that fork has deviated way too much from the vanilla code of NewPipe.

it feels badly optimized and has many regressions and new bugs that are not even present in the current NewPipe.

throwaway242685 avatar Apr 27 '25 00:04 throwaway242685

Could Newpipe use a built in proxy (or other workaround) to bypass IP bans? I was very randomly hit with an IP ban today and have no way of telling if its permanent. I can circumvent this with almost any VPN I tested (inclouding free ones, but do that at your own risk) but this slows down the experience. I have never had this happen before and I assume this is a new thing that google is doing to reduce the usage of third party apps.

While I think this should not be solved by adding a log in option (since enough other services already allow that and Newpipe does not want to require or offer log in) I do think this is something that requires a reaction, since from what I've read this IP banning is also randomly affecting others and knowing google this will probably only get worse.

For now, Grayjay's fallback circumvents this (at least for me) So I can recommend using that (altough it is very much different from Newpipe because it is an entirely different service with different goals, but it does stream YT videos) or using VPN(s).

KyrbySwiUtch avatar Apr 27 '25 13:04 KyrbySwiUtch

I'm probably getting this these couple of days.
@KyrbySwiUtch what is Grayjay's fallback ?

XilinJia avatar Apr 28 '25 11:04 XilinJia

@XilinJia Grayjay uses a fallback login feature if playback fails, this is often used to play videos that are restricted by youtube. This also gets around IP blocks. I don't know all the details of what exactly they do but they seem to use a spoof account or something to fetch these videos for the end user, without the end user having to log in. (And yes, Grayjay does allow login, again: They are a very different service to Newpipe and Newpipes forks)

I don't want to adverstise for Grayjay in a thread for a Newpipe Issue so I won't be talking about it any further. Grayjay is fully available on Github if you want to look into that. Sry for "advertising" ig.

KyrbySwiUtch avatar Apr 29 '25 06:04 KyrbySwiUtch

duplicate of #1322

thomaskrol avatar May 01 '25 12:05 thomaskrol

@KyrbySwiUtch

Could Newpipe use a built in proxy (or other workaround) to bypass IP bans?

No. Piped was/is an YouTube proxy (which was/is used by LibreTube), but it is now pretty much defunct, because having a bunch of people behind the same proxy is a really easy target for YouTube.

@tom22k

duplicate of https://github.com/TeamNewPipe/NewPipe/issues/1322

This is not a duplicate issue. That issue was about account use and management, this one is about making sure NewPipe can keep working. Without a login path, NewPipe will be dead by the end of the year.

Since the last update, NewPipe already has to use an WebView instance running in the background to get poTokens, so, running the same instance for login (NOT the same as account use and management inside the app) is a logical and needed next step.

hollownights avatar May 01 '25 13:05 hollownights

https://github.com/TeamNewPipe/NewPipe/issues/8696#issuecomment-1194140458 here a comment from somebody that is on the team. It is also literally the second question in the FAQ.

Thompson3142 avatar May 12 '25 19:05 Thompson3142

#8696 (comment) here a comment from somebody that is on the team. It is also literally the second question in the FAQ.

this is not about account management/sync, this is about circumventing IP bans.

Squawker also had to implement a login option to be able to keep working, but it was not implemented to sync things with your Twitter account (that's not even a feature), it was only implemented because there was no other way to keep using the app anonymously anymore.

throwaway242685 avatar May 12 '25 19:05 throwaway242685

"NewPipe's goal is to as effectively as possible protect its users' privacy. This means, the app only sends information to external servers which is needed to access content like videos or search results.

Having said this, the developers of NewPipe hope it is understandable that they will not implement any form of authentication which might allow tracking users" what is so hard to understand about that. If NewPipe can work in any way without it than it will not change that. IP bans are currently not on the scale that it would completely stop working. It would require a whole fundamental debate when the issue is big enough to consider this as a last resort. There are already forks that do implement logins though so if the problem persists for you, you can use those.

Thompson3142 avatar May 12 '25 20:05 Thompson3142

@Thompson3142

Yes, everyone who ended up using NewPipe has done so because it doesn’t have ads and provides greater privacy…

But that time of greater privacy ended with the introduction of poTokens. By using (or, having to use) poTokens, every single user is being tracked already, because these tokens act as authentication, which is derived from the user’s hardware and software at use. If before, when using NewPipe, YouTube only saw an IP address and a user-agent, now it sees just as much Google sees when we visit a website with Google Analytics (in terms of fingerprinting capabilities). YouTube now knows every single NewPipe user and probably can very easily correlate a NewPipe user with its Google account, even if not using it in/through NewPipe. In other words: we are being barred because we are not logged, despite the fact that YouTube/Google is already tracking us and know who we are.

If NewPipe can circumvent this problem without a login path, great; if not, there is no reason for denial around privacy.

hollownights avatar May 15 '25 01:05 hollownights

Bunch of issues opened here in the last few weeks due to YouTube blocking non-logged users. Probably related to the last attack on ad blockers.

hollownights avatar Jun 13 '25 16:06 hollownights

It would be a really great feature to be able to log in and access the subscriptions and history. (Not only to circumvent IP bans)

SmartTube already has this feature, so it should be technically possible :)

https://smarttubeapp.github.io/

Image

boustanihani avatar Aug 03 '25 14:08 boustanihani

@boustanihani The Newpipe team explicitly does not want this. This issue is not about the login feature in general, but about using it as a temporary solution to prevent IP bans. if you're worried about your subscribtions and history from prior to using a service like Newpipe, The Newpipe application allows you to import both of these (and more). Your Youtube subscribtions and history as well as playlists can all be exportet via Google Takeout. The option is available withing the Youtube application itsself. If you do not know about this, please lookup how to export your youtube data. (It's really not difficult at all.) Ultimately, we have no reason to use login as a way to locally import history and subscribtions. It would be a redundant feature, as well as a feature that the Newpipe team actively tries to avoid.

So, no. We do not need login to get history and subs.

KyrbySwiUtch avatar Aug 03 '25 15:08 KyrbySwiUtch

It has gotten progressively worse. My workaround is getting a new IP by reconnecting DSL on my router. I must do this now every other day. Thankfully, the reconnect is quick and does not affect my citrix sessions. It kills ssh connection, though. So yes, a login option would be nice. Alternatively some sort of proxy option in the home network.

plusterkopp avatar Sep 01 '25 23:09 plusterkopp

@KyrbySwiUtch Could you just explain why the Newpipe team is explicitly against a login? Many users use YouTube on multiple devices, and there is no way to sync subscribtions, history & playlists... And the need for exporting and reimporting the data via Google Takeout each time things change is a real pain..

boustanihani avatar Sep 01 '25 23:09 boustanihani

@KyrbySwiUtch Could you just explain why the Newpipe team is explicitly against a login?

I'm not the devs, but I advise everyone to read the FAQ, like the devs always ask. https://newpipe.net/FAQ/#bugs-google-login If you want to have more specific info on this, i'm sure it's out there somewhere, but I feel like we can also such respect the devs decision. There is nothing wrong with disagreeing, but there are other services out there for when you want to have this login and synchronization going on.

Many users use YouTube on multiple devices, and there is no way to sync subscribtions, history & playlists... And the need for exporting and reimporting the data via Google Takeout each time things change is a real pain..

This one is not as straight forward, I can see your point. You have not specifified in what way they "use youtube" on multiple devices. If you mean that they use the official app but then also use unofficial services like Newpipe, then I can see the inconvenience, yes, but I cannot see that the Newpipe team, or anyone, has to find a reliable and straighforward fix here.

If one was to mostly only use the unofficial services, and lets say we stick to Newpipe (or various newpipe forks that accept the same export and create compatible exports), then you can manually sync data in between them. Now, I do not want to advertise for other services on a Newpipe issue, but I will point out that "BendyStraw" exsists, which lets you combine some things from multiple exports quickly. I do see that this manual syncronization is inconvenient, and I think the Newpipe team could at some point add some syncronization feature that automates this, but again, there are other services that already let you do this (Not advertising tho).

If one uses multiple and very different services, official or not (and Newpipe is one of them, hence ur here), then again, this is something that any of these individual services will focus on.

And in the end, this is really not a priority. I see the idea, but this is something that mostly the user will be responsible for in general.

Again, not sending hate to anyone or advertising anythung, love to the community and the devs 💜

(All this said, there will most likely never be login or other sync options for this service, so no resolution to this issue. And that is all apart from the IP ban issue, which I'd say is being worked on and has fixes, but is seperate to login, which the Newpipe team most likely won't add)

KyrbySwiUtch avatar Sep 06 '25 13:09 KyrbySwiUtch

This one is not as straight forward, I can see your point. You have not specifified in what way they "use youtube" on multiple devices. If you mean that they use the official app but then also use unofficial services like Newpipe, then I can see the inconvenience, yes, but I cannot see that the Newpipe team, or anyone, has to find a reliable and straighforward fix here.

On my TV I use SmartTube, on my PC I use the official YouTube website in a browser with an adblocker, and on my smartphone I use NewPipe. There is no way to sync subscribtions, history & playlists, and exporting and reimporting everything each time things change is a real pain.. I hope someone from the dev team may explain why they are against the login feature..

boustanihani avatar Sep 28 '25 20:09 boustanihani

@boustanihani The point of this issue is to add login purely for the purpose of bypassing IP bans. Discussion of syncing account information is off topic.

absurdlylongusername avatar Sep 28 '25 22:09 absurdlylongusername

NewPipe will not implement YouTube login, as the main point of NewPipe is to ensure privacy. Permitting YouTube login would expose users to many other issues such as account bans. If there will be no way to access YouTube without logging in in the future, we'll think about a solution. But for now if you want YouTube login I'd suggest just using ReVanced or SmartTubeNext.

Stypox avatar Sep 30 '25 20:09 Stypox

the main purpose for you might be privacy but nobody using newpipe app wants that. most "privacy advocates" break things without user consent

orestbandera9 avatar Oct 30 '25 19:10 orestbandera9

@orestbandera9 in this case there are alternatives if you don't care about privacy, I mentioned ReVanced and SmartTubeNext for that reason

Stypox avatar Oct 30 '25 22:10 Stypox