title: Is there any Python library that separates an URL into scheme, subdomain and domain?
body: <p><a href="https://docs.python.org/" rel="nofollow noreferrer">https://docs.python.org/</a> should be separated into: <code>https://</code> and <code>docs</code> and <code>python.org</code></p>
  <p>Other examples can be: <a href="https://shoes.store.com" rel="nofollow noreferrer">https://shoes.store.com</a></p>
  <p>so regardless of the domain it separates. I've tried with urlparse but it didn't help</p>