from pyhunter import PyHunter

def hunterio(api, company, numero):
    hunter = PyHunter(api)
    res = hunter.domain_search(company=company, limit=10)
    f = open('correos.txt','w+')
    cont = 0
    for i in range(int(numero)):
        if (res['emails'][i]['first_name'] is not None):
            info = ('[+] '+res['emails'][i]['first_name']+' '+res['emails'][i]['last_name']+': '+res['emails'][i]['value'])
            cont = cont + 1
            f.write('%s\n' %info)
    print('\nSe guardaron ',cont,' correos.')

def Main():
    info = 'Script para buscar correos de compañias en especifico.'
    parser = argparse.ArgumentParser(info)
    parser.add_argument('-a', '--api', required = True, 
                        help = 'Agrega tu API key de hunter.io')
    parser.add_argument('-c', '--company', required = True, 
                        help = 'Nombre de la compañía')
    parser.add_argument('-n', '--numero', required = True,
                        help = 'Numero de correos (Maximo 10 si tienes plan gratuito).')
    args = parser.parse_args()
    api = args.api
    company = args.company
    numero = args.numero
    hunterio(api,company,numero)

if __name__ == '__main__':
    try:
        from pyhunter import PyHunter
        import argparse
        Main()
    except ImportError as error:
        import os
        print("Error on Packages"," Installing Packages")
        os.system('pip install -r requierements.txt')
        print("Packages Installed","ReRun")
        exit()
d365a4ff9b291348209fc0f8160bfc13162de922
<mask token>


def Main():
    info = 'Script para buscar correos de compañias en especifico.'
    parser = argparse.ArgumentParser(info)
    parser.add_argument('-a', '--api', required=True, help=
        'Agrega tu API key de hunter.io')
    parser.add_argument('-c', '--company', required=True, help=
        'Nombre de la compañía')
    parser.add_argument('-n', '--numero', required=True, help=
        'Numero de correos (Maximo 10 si tienes plan gratuito).')
    args = parser.parse_args()
    api = args.api
    company = args.company
    numero = args.numero
    hunterio(api, company, numero)


<mask token>

<mask token>


def hunterio(api, company, numero):
    hunter = PyHunter(api)
    res = hunter.domain_search(company=company, limit=10)
    f = open('correos.txt', 'w+')
    cont = 0
    for i in range(int(numero)):
        if res['emails'][i]['first_name'] is not None:
            info = '[+] ' + res['emails'][i]['first_name'] + ' ' + res['emails'
                ][i]['last_name'] + ': ' + res['emails'][i]['value']
            cont = cont + 1
            f.write('%s\n' % info)
    print('\nSe guardaron ', cont, ' correos.')


def Main():
    info = 'Script para buscar correos de compañias en especifico.'
    parser = argparse.ArgumentParser(info)
    parser.add_argument('-a', '--api', required=True, help=
        'Agrega tu API key de hunter.io')
    parser.add_argument('-c', '--company', required=True, help=
        'Nombre de la compañía')
    parser.add_argument('-n', '--numero', required=True, help=
        'Numero de correos (Maximo 10 si tienes plan gratuito).')
    args = parser.parse_args()
    api = args.api
    company = args.company
    numero = args.numero
    hunterio(api, company, numero)


<mask token>

<mask token>


def hunterio(api, company, numero):
    hunter = PyHunter(api)
    res = hunter.domain_search(company=company, limit=10)
    f = open('correos.txt', 'w+')
    cont = 0
    for i in range(int(numero)):
        if res['emails'][i]['first_name'] is not None:
            info = '[+] ' + res['emails'][i]['first_name'] + ' ' + res['emails'
                ][i]['last_name'] + ': ' + res['emails'][i]['value']
            cont = cont + 1
            f.write('%s\n' % info)
    print('\nSe guardaron ', cont, ' correos.')


def Main():
    info = 'Script para buscar correos de compañias en especifico.'
    parser = argparse.ArgumentParser(info)
    parser.add_argument('-a', '--api', required=True, help=
        'Agrega tu API key de hunter.io')
    parser.add_argument('-c', '--company', required=True, help=
        'Nombre de la compañía')
    parser.add_argument('-n', '--numero', required=True, help=
        'Numero de correos (Maximo 10 si tienes plan gratuito).')
    args = parser.parse_args()
    api = args.api
    company = args.company
    numero = args.numero
    hunterio(api, company, numero)


if __name__ == '__main__':
    try:
        from pyhunter import PyHunter
        import argparse
        Main()
    except ImportError as error:
        import os
        print('Error on Packages', ' Installing Packages')
        os.system('pip install -r requierements.txt')
        print('Packages Installed', 'ReRun')
        exit()

from pyhunter import PyHunter


def hunterio(api, company, numero):
    hunter = PyHunter(api)
    res = hunter.domain_search(company=company, limit=10)
    f = open('correos.txt', 'w+')
    cont = 0
    for i in range(int(numero)):
        if res['emails'][i]['first_name'] is not None:
            info = '[+] ' + res['emails'][i]['first_name'] + ' ' + res['emails'
                ][i]['last_name'] + ': ' + res['emails'][i]['value']
            cont = cont + 1
            f.write('%s\n' % info)
    print('\nSe guardaron ', cont, ' correos.')


def Main():
    info = 'Script para buscar correos de compañias en especifico.'
    parser = argparse.ArgumentParser(info)
    parser.add_argument('-a', '--api', required=True, help=
        'Agrega tu API key de hunter.io')
    parser.add_argument('-c', '--company', required=True, help=
        'Nombre de la compañía')
    parser.add_argument('-n', '--numero', required=True, help=
        'Numero de correos (Maximo 10 si tienes plan gratuito).')
    args = parser.parse_args()
    api = args.api
    company = args.company
    numero = args.numero
    hunterio(api, company, numero)


if __name__ == '__main__':
    try:
        from pyhunter import PyHunter
        import argparse
        Main()
    except ImportError as error:
        import os
        print('Error on Packages', ' Installing Packages')
        os.system('pip install -r requierements.txt')
        print('Packages Installed', 'ReRun')
        exit()

from pyhunter import PyHunter

def hunterio(api, company, numero):
    hunter = PyHunter(api)
    res = hunter.domain_search(company=company, limit=10)
    f = open('correos.txt','w+')
    cont = 0
    for i in range(int(numero)):
        if (res['emails'][i]['first_name'] is not None):
            info = ('[+] '+res['emails'][i]['first_name']+' '+res['emails'][i]['last_name']+': '+res['emails'][i]['value'])
            cont = cont + 1
            f.write('%s\n' %info)
    print('\nSe guardaron ',cont,' correos.')

def Main():
    info = 'Script para buscar correos de compañias en especifico.'
    parser = argparse.ArgumentParser(info)
    parser.add_argument('-a', '--api', required = True, 
                        help = 'Agrega tu API key de hunter.io')
    parser.add_argument('-c', '--company', required = True, 
                        help = 'Nombre de la compañía')
    parser.add_argument('-n', '--numero', required = True,
                        help = 'Numero de correos (Maximo 10 si tienes plan gratuito).')
    args = parser.parse_args()
    api = args.api
    company = args.company
    numero = args.numero
    hunterio(api,company,numero)

if __name__ == '__main__':
    try:
        from pyhunter import PyHunter
        import argparse
        Main()
    except ImportError as error:
        import os
        print("Error on Packages"," Installing Packages")
        os.system('pip install -r requierements.txt')
        print("Packages Installed","ReRun")
        exit()