feat(ssulbox): 공식 링크 오버레이 추가 및 AI 브리핑 대기 제거

This commit is contained in:
skkim committed 2026-08-24 13:44:45 +09:00
1 parent 934410a83b
commit 6d46614dcd
8 files changed
+107 -32

No files matched your search

+4
View File
@@ -141,6 +141,10 @@ async def _extract_detail_from_page(page, tries: int = 12) -> dict | None:
continue
detail = _detail_from_state(state)
if detail:
# 공식 링크는 apollo state 의 파싱된 dict 가 아니라 원문 HTML 에서 뽑는다
# (`homepages` 는 GraphQL placeDetail 이 노출하지 않아 castad 도 같은 방식).
# 이미 받아 둔 html 을 재사용하므로 추가 요청·왕복이 없다.
detail["homepage"] = NvMapScraper._extract_homepage_from_html(html)
return detail
await page.wait_for_timeout(700)
return None