Cloudflare woes

I work on the Bambu Lab integration and Bambu has recently deployed cloudflare. Initially we were able to workaround being blocked by switching to httpx/http2 and then when that stopped working by adding appropriate headers and when that stopped working by switching to using cloudscraper. And then that stopped working too… except only in Home Assistant (at least as a docker instance). Outside of that on the host machine the same exact script using cloudscraper is able to successfully authenticate.

How on earth can cloudflare detect a difference between the script running on the host and the script running in docker when the docker instance shares the host network?

Has anyone hit this and found a solution? Or, hell - can anyone explain how the two scenarios could be deteremined to be different by cloudflare?