update download.py.
This commit is contained in:
parent
fdb55db9ed
commit
bfe5663e2e
@ -1,6 +1,6 @@
|
||||
import os,requests,json,time,sys,argparse,psutil
|
||||
Log=""
|
||||
UA={'User-Agent':'GeMCAPI/4.0.0 (GeMC API Sync 1.0.0;Release)'}
|
||||
UA={'User-Agent':'GeMCAPI/4.1.0 (GeMC API Sync 1.1.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.")
|
||||
|
Reference in New Issue
Block a user