def getRedireccionWWW(self, dominio): try: conn = Coneccion() return conn.getRedireccionWWW(dominio) except: return False
def getRedireccionWWW (self, dominio): try: conn = Coneccion() return conn.getRedireccionWWW(dominio) except: return False
def getSpan(self, ip): try: conn = Coneccion() html = conn.getHtml(ip, self.host_span, self.url_span) tag = html.find('appears') return tag.text except: return 'No'
def getSpan (self, ip): try: conn = Coneccion() html = conn.getHtml(ip, self.host_span, self.url_span) tag = html.find('appears') return tag.text except: return 'No'