NewPipe has it's own library NewPipeExtractor and does the work on your device, so IP bans aren't really a problem compared to a hosted instances where multiple clients access youtube through the IP of the instance.
https://github.com/TeamNewPipe/NewPipeExtractor
There seems to be no way anymore to keep a public instance working.