refactoring
This commit is contained in:
29
config/crawler_constants.yaml
Normal file
29
config/crawler_constants.yaml
Normal file
@@ -0,0 +1,29 @@
|
||||
# ─────────────────────────────────────────────────
|
||||
# crawler_constants.yaml
|
||||
# 네이버 API 크롤러 상수
|
||||
# ─────────────────────────────────────────────────
|
||||
|
||||
# HTTP 요청 헤더
|
||||
headers:
|
||||
User-Agent: "Mozilla/5.0"
|
||||
Accept: "application/json, text/plain, */*"
|
||||
Accept-Language: "ko-KR,ko;q=0.9"
|
||||
Origin: "https://m.sports.naver.com"
|
||||
x-sports-backend: "kotlin"
|
||||
|
||||
# 무시할 textOption type 코드
|
||||
skip_option_types: [0, 8, 98, 99]
|
||||
|
||||
# 무시할 이벤트 텍스트
|
||||
hidden_event_texts:
|
||||
- "투수 투수판 이탈"
|
||||
- "코칭스태프 마운드 방문"
|
||||
- "포수 마운드 방문"
|
||||
|
||||
# 교체 키워드 (텍스트에 이것이 포함되면 교체 이벤트로 판단)
|
||||
change_keywords:
|
||||
- "(으)로 교체"
|
||||
- "수비위치 변경"
|
||||
|
||||
# 최대 이닝 수
|
||||
max_inning: 20
|
||||
Reference in New Issue
Block a user