From d582ce9e020a19f83e93e1be09c3f2fdb1ae7d99 Mon Sep 17 00:00:00 2001 From: Tontonnow <122251963+Tontonnow@users.noreply.github.com> Date: Tue, 31 Oct 2023 19:34:21 +0800 Subject: [PATCH] Add files via upload --- main.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index 4744a9b..1a64a01 100644 --- a/main.py +++ b/main.py @@ -38,9 +38,13 @@ if __name__ == '__main__': txck = config["txck"] yk = config["yk"] aqy = config["aqy"] - tx = TX(txck) - iq = iqy(aqy) - youku = YouKu(yk) + try: + tx = TX(txck) + iq = iqy(aqy) + youku = YouKu(yk) + except Exception as e: + print("配置文件有误,请检查") + print(e) while True: url = input("请输入视频链接:") if "v.qq.com" in url: