python get url hostname code example
Example: python get domain from url
from urllib.parse import urlparse
domain = urlparse('https://supermavster.com').netloc
from urllib.parse import urlparse
domain = urlparse('https://supermavster.com').netloc