From a136ea2739aafd1477d3cace09062f647162fbf3 Mon Sep 17 00:00:00 2001 From: Relakkes Date: Sat, 9 Dec 2023 13:56:18 +0800 Subject: [PATCH] refactor: delete account_config.py --- config/__init__.py | 1 - config/account_config.py | 27 --------------------------- docs/常见问题.md | 3 +++ 3 files changed, 3 insertions(+), 28 deletions(-) delete mode 100644 config/account_config.py diff --git a/config/__init__.py b/config/__init__.py index b3e5dbf..c2b8e48 100644 --- a/config/__init__.py +++ b/config/__init__.py @@ -1,3 +1,2 @@ -from .account_config import * from .base_config import * from .db_config import * diff --git a/config/account_config.py b/config/account_config.py deleted file mode 100644 index 2ece5d7..0000000 --- a/config/account_config.py +++ /dev/null @@ -1,27 +0,0 @@ -# -*- coding: utf-8 -*- -# account_config.py -import os - -PHONE_LIST = [ - "13012345671", - "13012345672", - "13012345673", - "13012345674", - "13012345675", - "13012345676", - # ... -] - -IP_PROXY_LIST = [ - "111.122.xx.xx1:8888", - "111.122.xx.xx2:8888", - "111.122.xx.xx3:8888", - "111.122.xx.xx4:8888", - "111.122.xx.xx5:8888", - "111.122.xx.xx6:8888", - # ... -] - -IP_PROXY_PROTOCOL = "http://" -IP_PROXY_USER = os.getenv("IP_PROXY_USER", "test") -IP_PROXY_PASSWORD = os.getenv("IP_PROXY_PASSWORD", "123456") diff --git a/docs/常见问题.md b/docs/常见问题.md index 7cb8dc9..b740839 100644 --- a/docs/常见问题.md +++ b/docs/常见问题.md @@ -14,3 +14,6 @@ A:出现这种情况多半是由于你的账号触发了平台风控机制了 Q: 如何更换登录账号?
A:删除项目根目录下的 brower_data/ 文件夹即可
+ +Q: 报错 `playwright._impl._api_types.TimeoutError: Timeout 30000ms exceeded.`
+A: 出现这种情况检查下开梯子没有`