I\'m writing a function to category internal and external link of an Url. It can recognize which Url is the internal link by comparing the internal/external Netloc with the netl