Repository navigation
feat: Zyte 유료 호출 중지와 무료 조회 경로 추가 - #185
Merged
Merged
Conversation
8000
hmmhmmhm
marked this pull request as ready for review
September 14, 2026 23:56
This was referenced Sep 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
변경 내용
외부 원본이 차단될 때 발생하던 Zyte 사용량을 없애기 위해 서버의 유료 전송·재시도 경로를 제거했습니다. 기존 키가 남아 있어도 REST·MCP·운영 검사에서 Zyte 요청은 발생하지 않으며, 비용 정책 오류는 재시도 불가로 안내합니다. 무료 직접 요청과 롯데마트 소켓·제타 대체 경로는 유지합니다.
올리브영은 직접 HTTP 및 운영 바인딩으로 설정하는 인증된 브라우저 중계를 지원합니다. 전용 headed Chromium 중계는 고정된 네 API만 허용하고 인증·16KB 본문 제한·필드 검증·직렬 처리·대기 상한·취소/기한 검사를 적용합니다. 세븐일레븐 상품·카탈로그·인기 검색어는 5분, 매장은 30분 동안 REST/MCP 공용 서비스 계층에서 재사용하며 같은 조회를 합칩니다. 실시간 재고는 새 캐시에서 제외합니다.
검증
npm run check: 165개 파일, 1,874개 테스트 통과npm run test:coverage: Statements/Branches/Functions/Lines 모두 100%, 릴레이 핵심 모듈 포함npm audit: 0건, build 및 Wrangler dry-run 통과운영 제약
무료 원본이 차단된 서비스는 계속 조회 불가일 수 있습니다. 올리브영 로컬 경로는 headed 브라우저와 GUI 세션이 필요하며, Mac 상시 사용 여부가 확정되지 않아 공개 터널·LaunchAgent는 생성하지 않았습니다. Worker-to-Mac 연결은 아직 검증되지 않았습니다. Zyte 계정의 구독·약정과 지출 한도는 변경하지 않았습니다.