diff --git a/douyin/reservation/douyin_reservation_verify.py b/douyin/reservation/douyin_reservation_verify.py index 2116738..244986a 100644 --- a/douyin/reservation/douyin_reservation_verify.py +++ b/douyin/reservation/douyin_reservation_verify.py @@ -401,11 +401,15 @@ def validate_back_to_reservation( pass # 强不匹配:仅返回失败(不做任何回退动作) + # 当标题为空时也视为失败,因为无法确认是否在正确直播间 if ( - current_title - and (expected_title not in current_title) - and (current_title not in expected_title) - and ratio < 0.45 + (not current_title) # 标题为空,读取失败 + or ( + current_title + and (expected_title not in current_title) + and (current_title not in expected_title) + and ratio < 0.45 + ) ): try: analyser._log_kv( diff --git a/state/high_value_rooms.json b/state/high_value_rooms.json index dd7fea2..0deae71 100644 --- a/state/high_value_rooms.json +++ b/state/high_value_rooms.json @@ -1,7 +1,7 @@ { - "updated_ts": 1767961153.6681945, + "updated_ts": 1767961508.886063, "reason": "reservation", - "total": 159, + "total": 160, "rooms": [ { "first_seen_ts": 1765799932.458368, @@ -2713,6 +2713,22 @@ "last_prize_value_yuan": 1999.0, "max_prize_value_yuan": 1999.0, "room_title": "丰源百货仓" + }, + { + "first_seen_ts": 1767961508.886063, + "last_seen_ts": 1767961508.886063, + "seen_count": 1, + "pos_seen": 8, + "pos_updated_ts": 1767961508.886063, + "room_title_raw_last": "天美人菲菲", + "alias_raw": [ + "天美人菲菲" + ], + "key_kind": "norm", + "last_content": "", + "last_prize_value_yuan": 599.0, + "max_prize_value_yuan": 599.0, + "room_title": "天美人菲菲" } ] } \ No newline at end of file