diff --git a/check_proxy.py b/check_proxy.py index 374f58d..ab17886 100644 --- a/check_proxy.py +++ b/check_proxy.py @@ -21,5 +21,10 @@ def check_proxy(proxies): if __name__ == '__main__': - from config import proxies + import os + if os.path.exists('config_private.py'): + # 放自己的秘密如API和代理网址 + from config_private import proxies + else: + from config import proxies check_proxy(proxies) \ No newline at end of file