summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYiwen-Chan <[email protected]>2020-08-29 10:18:22 +0800
committerGitHub <[email protected]>2020-08-29 10:18:22 +0800
commit9b4d94893e5282d6b9345515658cade21d168e03 (patch)
tree7d423a1838ae01e53637878532f785894bd92465
parent24f70fb78d98eaeecc81c29ba59167a1822ade5a (diff)
downloadATRI-9b4d94893e5282d6b9345515658cade21d168e03.tar.gz
ATRI-9b4d94893e5282d6b9345515658cade21d168e03.tar.bz2
ATRI-9b4d94893e5282d6b9345515658cade21d168e03.zip
Update config.py
-rw-r--r--config.py17
1 files changed, 16 insertions, 1 deletions
diff --git a/config.py b/config.py
index 3136356..647abec 100644
--- a/config.py
+++ b/config.py
@@ -43,7 +43,10 @@ e = "" # secret
def BAIDU_SECRET():
return e
-
+# API url:https://saucenao.com/search.php
+f = "" # key
+def SAUCENAO_KEY():
+ return f
@@ -166,3 +169,15 @@ else:
pass
else:
os._exit(0)
+
+if SAUCENAO_KEY():
+ print("用于SAUCENAO的钥匙已到手!")
+else:
+ print("貌似没拿到SAUCENAO的钥匙呢...如需帮助,请查看安装手册")
+ print("...跳过!")
+ time.sleep(1)
+ wait = input("是否继续: Y/N\n")
+ if wait == "Y" or wait == 'y':
+ pass
+ else:
+ os._exit(0)