There's an old blog post[1] by the founder of LeanDomainSearch on this.

[1]: https://mattmazur.com/2018/05/18/extracting-a-list-of-all-re...