Skip to content

Instantly share code, notes, and snippets.

@axeliodiaz
Last active August 29, 2015 14:06
Show Gist options
  • Save axeliodiaz/0a86cddf72dadfd43426 to your computer and use it in GitHub Desktop.
Save axeliodiaz/0a86cddf72dadfd43426 to your computer and use it in GitHub Desktop.
Script en python para la descarga de los certificados aprobados por SUSCERTE
#!/usr/lib/python3
import urllib
DIRECCION = "http://acraiz.suscerte.gob.ve/sites/default/files/certificados/"
CERTIFICADOS = [
"CERTIFICADO-RAIZ-SHA384.crt",
"PSCFII-SHA256.crt",
"PSC-PROCERT-SHA256.crt",
]
def __main__():
for certificado in CERTIFICADOS:
print(certificado)
urllib.urlretrieve("%s%s" % (DIRECCION, certificado), filename="%s" % (certificado))
__main__()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment