summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)