docs: def getDomainFromUrl(self, url):
          """
              Extracting the domain from the URL.
              
              :return: domain as a string.
          """
          try:
              domain = re.findall( self.domainRegexp, url )[0]
          except Exception, e:
              errMsg = "ERROR. Something happened when trying to find the domain from <" + url + ">. Are you sure that the following regular expression matches a domain in the url provided?\n\t" + self.domainRegexp
              raise Exception( errMsg + "\n" + str(e) )
                      
          return domain