extract_subdomains
Description:
Extract subdomains from a domain name excluding the top and second level domain.
Parameters:
domain |
domain from which subdomains will be extracted |
skip |
number of labels to skip, which defaults to 2 (eg. 'example' and 'com') |
Returns:
a list of subdomains in their left-to-right order of appearance in the domain excluding the two top-most levels |
Namespace: Valum
Package: valum-0.3