This commit is contained in:
2026-06-10 22:16:25 +09:00
parent f1ff50bac5
commit 83e13b133e
+2 -3
View File
@@ -137,9 +137,8 @@ class ProxyHandler(BaseHTTPRequestHandler):
continue
filtered.append((href, txt))
# Exclude notices (공지) anywhere in the title, then apply skip/limit
filtered_no_notice = [(h, t) for (h, t) in filtered if '공지' not in (t or '').lower()]
posts = filtered_no_notice[skip:skip+limit]
# Apply skip/limit to all filtered items (including notices)
posts = filtered[skip:skip+limit]
# Build simple HTML list for posts only
host = self.headers.get("Host", f"localhost:{self.server.server_port}")