From 842dd254e3d72ce046151e9a8f285812ad665b62 Mon Sep 17 00:00:00 2001 From: Codex Date: Sat, 23 May 2026 17:05:43 +0800 Subject: [PATCH] fix: correct import path for check_detail_height in detect_fudai_detail_page The relative import from .douyin_detection was looking in the douyin/detection/pixel/ package, but douyin_detection.py lives at douyin/detection/douyin_detection.py. This caused every fudai detail page detection to fail with detection_exception, making the system always treat successful detail page opens as misclicks. --- douyin/detection/pixel/stage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/douyin/detection/pixel/stage.py b/douyin/detection/pixel/stage.py index d371da6..58784de 100644 --- a/douyin/detection/pixel/stage.py +++ b/douyin/detection/pixel/stage.py @@ -203,7 +203,7 @@ def detect_fudai_detail_page( return False try: - from .douyin_detection import check_detail_height + from douyin.detection.douyin_detection import check_detail_height # 执行任务数量检测 task_count = int(check_detail_height(analyser) or 0)