(self)
return domain
Returns the domain of the url
Returns the domain of the url
Returns the domain of the url
def domain(self):
        """
        Returns the domain of the url
        """
        try:
            domain = urlparse(self.url).netloc
        except Exception as exc:
            domain = ''

        return domain
def domain ( self ) : try : domain = urlparse ( self . url ) . netloc except Exception as exc : domain = '' return domain