From 5cbc257ef2caff33727d822b3e9a309fcdda7052 Mon Sep 17 00:00:00 2001 From: Bigsk <1332540+bigskcode@user.noreply.gitee.com> Date: Mon, 10 Aug 2020 17:54:27 +0800 Subject: [PATCH] update download.py. --- download.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/download.py b/download.py index 45c8c22..e73872e 100644 --- a/download.py +++ b/download.py @@ -1,6 +1,6 @@ import os,requests,json,time,sys,argparse,psutil Log="" -UA={'User-Agent':'GeMCAPI/4.1.0 (GeMC API Sync 1.1.0;Release)'} +UA={'User-Agent':'GeMCAPI/4.5.0 (GeMC API Sync 1.5.0;Release)'} parser=argparse.ArgumentParser() parser.add_argument("--url", help="The online url of the file which need to download.") parser.add_argument("--file", help="The file path of the file which need to download.")