Last active
August 29, 2015 14:06
-
-
Save axeliodiaz/0a86cddf72dadfd43426 to your computer and use it in GitHub Desktop.
Script en python para la descarga de los certificados aprobados por SUSCERTE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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