Lines Matching refs:url
169 def download_url(url, folder_path):
170 filename = url.split('/')[-1]
173 if _check_sha256(url, file_path):
180 print("Downloading {}".format(url))
181 with urllib.request.urlopen(url) as response, os.fdopen(
187 print("\n{} downloaded successfully".format(url))
243 def install_rustc(url, download_dir, version, one_type, code_path):
244 part_file_name = url.split('/')[-1].split('linux')[0]
266 url = os.path.join(args.repo_https, one_type.get('url'))
268 download_url(url, download_dir)
269 extract_compress_files(os.path.join(download_dir, url.split('/')[-1]),
275 install_rustc(url, download_dir, version, one_type, code_path)
296 if tar_name == 'nodejs' and url == os.path.join(args.repo_https,