url="https://site.com"
a={
'http://': 1,
'https://': 1,
'ftp://': 1
}
a = a.get(url.split(???)[0].lower())
url="http://www.site.com"
url="https://site.com"
a={
'http://': 1,
'https://': 1,
'ftp://': 1
}
a = a.get(url.split(???)[0].lower())
url="http://www.site.com"
a = a.get(url.split('://')[0].lower()+'://')