Beispiel #1
0
    def getRedireccionWWW(self, dominio):

        try:
            conn = Coneccion()
            return conn.getRedireccionWWW(dominio)
        except:
            return False
Beispiel #2
0
    def getRedireccionWWW (self, dominio):

        try:
            conn = Coneccion()
            return conn.getRedireccionWWW(dominio)
        except:
            return False
Beispiel #3
0
    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'
Beispiel #4
0
    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'