Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
304 B
0
Indexable
Never
subdomain_list = []
# loop through the list
for item in res:
    
    # extract the domain from the list item
    domain = item[2]
    # split the domain into subdomains
    # print all the subdomains except the top-level domain
    subdomain_list.append(domain.replace('*.',''))
len(set(subdomain_list))