refactor:优化部分代码

feat: 增加IP代理账号池
This commit is contained in:
Relakkes
2023-06-27 23:38:30 +08:00
parent 963d9a16d3
commit b8093a2c0f
19 changed files with 615 additions and 254 deletions

View File

@@ -1,6 +1,6 @@
from typing import Dict
import utils
from tools import utils
async def update_xhs_note(note_item: Dict):
@@ -24,7 +24,7 @@ async def update_xhs_note(note_item: Dict):
"last_modify_ts": utils.get_current_timestamp(),
}
# do something ...
print("update note:", local_db_item)
print("xhs note:", local_db_item)
async def update_xhs_note_comment(note_id: str, comment_item: Dict):
@@ -43,4 +43,4 @@ async def update_xhs_note_comment(note_id: str, comment_item: Dict):
"last_modify_ts": utils.get_current_timestamp(),
}
# do something ...
print("update comment:", local_db_item)
print("xhs note comment:", local_db_item)