Render a JavaScript-heavy page with tezcatl, strip the HTML tags, and detect the language. Works on SPAs that curl can't reach, since the text only exists after the JavaScript runs. Returns a confidence score alongside the language code.
$ tezcatl https://less.software | strip-tags | lingua detect