diff --git a/main.py b/main.py index 7052aae..fe1edd1 100644 --- a/main.py +++ b/main.py @@ -109,13 +109,13 @@ class CKWK: adapter = HTTPAdapter(max_retries=retry_strategy) self.session.mount("http://", adapter) self.session.mount("https://", adapter) - self.session.verify = False - self.session.proxies.update( - { - "http": "http://127.0.0.1:9000", - "https": "http://127.0.0.1:9000", - } - ) + # self.session.verify = False + # self.session.proxies.update( + # { + # "http": "http://127.0.0.1:9000", + # "https": "http://127.0.0.1:9000", + # } + # ) self.username = un self.host = host self.password = pw @@ -640,7 +640,7 @@ if __name__ == "__main__": if p == "": p = input("请输入密码: ") - # 刷课 + # 刷课程评论, 不需要用的时候可以直接注释 # r = input("是否需要评论(不需要[0],需要[1]): ") # if int(r) == 1: # isReply = True @@ -649,7 +649,9 @@ if __name__ == "__main__": # print(bool(isReply)) # if u is None and p is None and c in [0, 1, 2]: # os._exit(0) - # CKWK(f"{u}", f"{p}", host_server[c][0]).run() - # 刷作业 - CKWK(f"{u}", f"{p}", host_server[c][0]).work() + # 刷视频,不需要用的时候可以直接注释 + CKWK(f"{u}", f"{p}", host_server[c][0]).run() + + # 刷作业,不需要用的时候可以直接注释 + # CKWK(f"{u}", f"{p}", host_server[c][0]).work()