So the repo is a bit like youtube-dl in that it puts the pieces together and finds the right links.
https://github.com/widevinedump/WV-AMZN-4K-RIPPER/tree/main/...