This repo is a self contained web app for categorising urls to look for inlinking opportunities. Blog post with original code https://importsem.com/discover-interlinking-opportunities-using-k-means-and-python/