The previous was conflicting with the built-in version of android, this should solve it as it has a different package name (with the advantage of being able to receive updates).
This is the system independent core of NewPipe. It can be used to create your own java based NewPipe client.
A small example showing how to use the extractor can be found here.