https://gist.github.com/duskwuff/513e2b4f38b3db2e060c8611ebf...
A couple of helper functions are missing, but nothing terribly important.
I could never see Claude doing this without a human in the loop, while Google has probably already reverse engineered a good chunk of the software available on the web