feat: add douyin data export functionality to lawyer export script

- Introduced a new command-line argument `--douyin-only` to export data specifically for Douyin, including additional fields such as sec_uid, douyin_uid, and user information.
- Updated the README to include instructions for exporting Douyin data.
- Enhanced the export logic to accommodate new fields when exporting Douyin-specific data.
This commit is contained in:
hello-dd-code
2026-03-09 21:26:50 +08:00
parent e10437cd90
commit c2b77975c1
3 changed files with 273 additions and 14 deletions
+4
View File
@@ -151,6 +151,10 @@ DLS_DIRECT=1 DLS_NO_DB=1 ./common_sites/start.sh
# 如果不需要解析 params 扩展信息
./.venv/bin/python ./common_sites/export_lawyers_excel.py --no-parse-params
# 导出抖音采集数据(domain=抖音),并附带 sec_uid/抖音号/简介/API来源等字段
./.venv/bin/python ./common_sites/export_lawyers_excel.py \
--douyin-only --start-ts 0 --output ./data/douyin_lawyers_export.xlsx
```
## 一次性站点(众法利)