r/ReverseEngineering • • 5d ago

github-Reversing YouTube's SABR: UMP container, PO-token binding, and playing it on-device through a hidden youtube.com page

https://github.com/biolend83/tubehaus
57 Upvotes

6 comments sorted by

6

u/Pitiful_Conflict7031 5d ago

Nice this is badass bro!

4

u/ThisIsPaulDaily 5d ago

What about r/NewPipe and the extractor for it?  And the fork Pipepipe? 

Is this just a vibe coded version of that?

2

u/lovespeedtest 5d ago

Fair question! Different scope, really. NewPipe and PipePipe are standalone Android apps built on the NewPipe Extractor. tubehaus is a self-hosted server plus apps (Android, Windows, Chromecast/TV), so one server can serve a whole household with shared subscriptions and history across devices.

For SABR I didn't port the extractor. The server uses the googlevideo and bgutils-js libraries to handle the SABR/UMP stream and mint a PO token without a Google account, and the apps can also play on-device through a hidden youtube.com page, which is what this post digs into. Big credit to those projects, and to NewPipe for paving the way for everyone.

1

u/lovespeedtest 5d ago

No the ui and it's engine is made by me and uses Sabr (google's protocol)

3

u/yournicknamehere 5d ago

that's awesome