feat(douyu): add daily danmu report pipeline
This commit is contained in:
@@ -4,3 +4,25 @@ command = ["斗鱼订阅", "取消斗鱼订阅", "斗鱼订阅列表"]
|
||||
check_interval_minutes = 5
|
||||
api_url_template = "https://www.douyu.com/betard/{room_id}"
|
||||
user_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
|
||||
session_cutoff_hour = 6
|
||||
merge_gap_hours = 4
|
||||
daily_report_enable = true
|
||||
daily_report_time = "10:05"
|
||||
daily_report_min_messages = 120
|
||||
daily_report_use_llm = false
|
||||
daily_report_max_sessions = 4
|
||||
daily_report_max_length = 1800
|
||||
daily_report_send_image = true
|
||||
|
||||
[Douyu.report_api]
|
||||
provider = "openai_compatible"
|
||||
api_base_url = ""
|
||||
endpoint = "chat/completions"
|
||||
api_key = ""
|
||||
model = ""
|
||||
timeout_seconds = 45
|
||||
temperature = 0.3
|
||||
max_tokens = 900
|
||||
stream = true
|
||||
max_retries = 3
|
||||
retry_delay_seconds = 1.0
|
||||
|
||||
Reference in New Issue
Block a user