Spaces:
Running
Running
upload
Browse files- check_proxy.py +6 -1
check_proxy.py
CHANGED
@@ -21,5 +21,10 @@ def check_proxy(proxies):
|
|
21 |
|
22 |
|
23 |
if __name__ == '__main__':
|
24 |
-
|
|
|
|
|
|
|
|
|
|
|
25 |
check_proxy(proxies)
|
|
|
21 |
|
22 |
|
23 |
if __name__ == '__main__':
|
24 |
+
import os
|
25 |
+
if os.path.exists('config_private.py'):
|
26 |
+
# 放自己的秘密如API和代理网址
|
27 |
+
from config_private import proxies
|
28 |
+
else:
|
29 |
+
from config import proxies
|
30 |
check_proxy(proxies)
|