Download bt-source/panel/class/mailModel/script/multi_ip_rotate.py from SZFSPC/apple: direct link, hf CLI and curl.
- Browser
- Download file 488 Bytes
-
https://huggingface.co/spaces/SZFSPC/apple/resolve/main/bt-source/panel/class/mailModel/script/multi_ip_rotate.py
- Command line
-
hf download hf://spaces/SZFSPC/apple/bt-source/panel/class/mailModel/script/multi_ip_rotate.py
-
curl -L -o multi_ip_rotate.py https://huggingface.co/spaces/SZFSPC/apple/resolve/main/bt-source/panel/class/mailModel/script/multi_ip_rotate.py
488 Bytes
| #coding: utf-8 | |
| #------------------------------ | |
| # ip多点切换 | |
| #------------------------------ | |
| import os,sys | |
| os.chdir('/www/server/panel') | |
| # sys.path.insert(1,'BTPanel/') | |
| sys.path.insert(0,'class/') | |
| import public | |
| try: | |
| from mailModel import multipleipModel | |
| print("======================开始执行========================") | |
| multipleipModel.main().ip_rotate() | |
| print("======================执行结束========================") | |
| except: | |
| print(public.get_error_info()) |