수정
This commit is contained in:
@@ -137,9 +137,8 @@ class ProxyHandler(BaseHTTPRequestHandler):
|
|||||||
continue
|
continue
|
||||||
filtered.append((href, txt))
|
filtered.append((href, txt))
|
||||||
|
|
||||||
# Exclude notices (공지) anywhere in the title, then apply skip/limit
|
# Apply skip/limit to all filtered items (including notices)
|
||||||
filtered_no_notice = [(h, t) for (h, t) in filtered if '공지' not in (t or '').lower()]
|
posts = filtered[skip:skip+limit]
|
||||||
posts = filtered_no_notice[skip:skip+limit]
|
|
||||||
|
|
||||||
# Build simple HTML list for posts only
|
# Build simple HTML list for posts only
|
||||||
host = self.headers.get("Host", f"localhost:{self.server.server_port}")
|
host = self.headers.get("Host", f"localhost:{self.server.server_port}")
|
||||||
|
|||||||
Reference in New Issue
Block a user