| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- # -------- 配置部分 --------
- TEST_TASK = None # 测试任务,这里配置以后任务轮转函数直接使用这个任务
- # TEST_TASK = {
- # "status": "running",
- # "priority": 10,
- # "config": {
- # "select": "random",
- # "alias_email": "mariaandrews2240@gmail-app.com",
- # "time_filter": ["AM","PM"],
- # "exclude_dates": [],
- # "include_today": True,
- # "allowed_weekdays": [1,2,3,4,5],
- # "include_tomorrow": True
- # },
- # "user_inputs": {
- # "email": "mariaandrews2240@gmail-app.com",
- # "password": "Visafly@111",
- # "username": "mariaandrews2240@gmail-app.com",
- # "support_pta": False,
- # "expected_end_date": "2026-06-30",
- # "expected_start_date": "2026-05-01"
- # },
- # "grabbed_history": {},
- # "meta": None,
- # "id": 0,
- # "order_id": "ORD-20260415100806-0fdee58d",
- # "routing_key": "auto.slot.lon.fr.tourist",
- # "script_version": "latest",
- # "attempt_count": 0,
- # "notify_count": 0,
- # "created_at": "2000-01-01T01:00:00",
- # "updated_at": "2000-01-01T01:00:00",
- # "expire_at": "2000-01-01T01:00:00"
- # }
- TEST_ACCOUNT = None # 测试账号,这里配置以后账号轮转函数直接使用这个账号
- # TEST_ACCOUNT = {
- # "pool_name": "tls.gb.fr.sentinel",
- # "username": "robertolord2257@gmail-app.com",
- # "password": "Visafly@111",
- # "extra_data": {},
- # "status": "active",
- # "next_use_time": "2000-01-01T01:00:00",
- # "id": 0,
- # "created_at": "2000-01-01T01:00:00",
- # "updated_at": "2000-01-01T01:00:00"
- # }
- TEST_PROXY = None # 测试代理,这里配置以后ip轮转函数直接使用这个代理
- # TEST_PROXY = {
- # "pool_name": "local",
- # "proto": "http",
- # "ip": "127.0.0.1",
- # "port": 7890,
- # "username": "",
- # "password": "",
- # "id": 0
- # }
- CHROME_PATH = None # Chrome bin 的路径, 这个优先级最高,其次CHROME_BIN 的环境变量,最后系统默认值
- CLASH_SWITCH_NODE = False # 是否要启用Clash 轮换
- CLASH_API_URL = "http://127.0.0.1:9097" # Clash 本地 API
- CLASH_API_KEY = "esZnx8" # Clash API 密钥
- CLASH_GROUP_NAME = "♻️ 手动切换" # 要轮换的策略组名称
|