print(colored(colorama.Fore.GREEN,"\nDownloading libraries...")) for library in libraries: if "url" in library: print(colored(colorama.Fore.BLACK,getLibraryPrettyName(library))) try: fileDl(library["url"],library["filePathOS"],read = False) except Exception as e: print(colored(colorama.Fore.RED,"> Could not download: ") +str(e),file=sys.stderr) else: if library["dumb"] == True: try: fileDl(library["url"] + ".sha1",library["filePathOS"] + ".sha1",read = False) except Exception as e: print(colored(colorama.Fore.RED,"> Could not download sha1 hash: ") +str(e),file=sys.stderr) if "-verifydata" in sys.argv: checkLibraryHash(library)