48 lines
1.2 KiB
C#
48 lines
1.2 KiB
C#
namespace Oms.Application.Shared;
|
|
|
|
/// <summary>
|
|
/// LIKE AI 拟人配置默认值(与 human.py / human_guard.py 内置默认对齐的简化版)。
|
|
/// </summary>
|
|
public static class XhsHumanDefaults
|
|
{
|
|
public const string BehaviorJson = """
|
|
{
|
|
"default_max_attempts": 500,
|
|
"human_delay": { "min_ms": 300, "max_ms": 700 },
|
|
"home_browse_plan": {
|
|
"scroll_lo": 16, "scroll_hi": 51,
|
|
"click_lo": 2, "click_hi": 8
|
|
},
|
|
"search_browse_plan": {
|
|
"scroll_lo": 13, "scroll_hi": 39,
|
|
"click_lo": 1, "click_hi": 5
|
|
}
|
|
}
|
|
""";
|
|
|
|
public const string GuardJson = """
|
|
{
|
|
"publish": {
|
|
"max_per_day": 2,
|
|
"min_interval_hours": 6,
|
|
"pre_delay_min_sec": 60,
|
|
"pre_delay_max_sec": 180
|
|
},
|
|
"browse": {
|
|
"min_interval_sec": 25,
|
|
"max_interval_sec": 45,
|
|
"max_per_hour": 20
|
|
},
|
|
"interact": {
|
|
"min_interval_sec": 45,
|
|
"max_per_day": 10
|
|
},
|
|
"quiet_hours": {
|
|
"enabled": true,
|
|
"start": "02:00",
|
|
"end": "07:00"
|
|
}
|
|
}
|
|
""";
|
|
}
|