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.
This commit is contained in:
1 parent
6f38907119
commit
842dd254e3
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user