Пример #1
0
    def getRedireccionWWW(self, dominio):

        try:
            conn = Coneccion()
            return conn.getRedireccionWWW(dominio)
        except:
            return False
Пример #2
0
    def getRedireccionWWW (self, dominio):

        try:
            conn = Coneccion()
            return conn.getRedireccionWWW(dominio)
        except:
            return False
Пример #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'
Пример #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'