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
| @echo off | |
| setlocal enabledelayedexpansion | |
| :: 1. 환경 설정 (결과 파일명) | |
| set "final_output=TOTAL_HR_DATA_FINAL.csv" | |
| set "is_first=1" | |
| set "file_count=0" | |
| echo [*] 데이터 병합 프로세스를 시작합니다... |
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
| /** | |
| * @name Enterprise Workflow Automator | |
| * @description 複数ステップ의 데이터 내보내기 프로세스를 최적화 및 자동화하는 도구 | |
| * @security-note 내부 시스템 정보(URL, ID 등)를 노출하지 않도록 추상화된 셀렉터를 사용함 | |
| */ | |
| (async () => { | |
| // 1. 설정값 (환경에 맞춰 조정 가능한 파라미터) | |
| const CONFIG = { | |
| TOTAL_STEPS: 46, | |
| // 브라우저의 다운로드 스트림 생성 및 세션 안정화를 위한 대기 시간 |
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
| import os | |
| import time | |
| import random | |
| import requests | |
| from playwright.sync_api import sync_playwright | |
| # 1. 환경 변수 관리 (보안) | |
| # 실제 주소와 토큰은 .env 파일에 격리하여 관리하는 것을 전제로 합니다. | |
| TARGET_URL = os.getenv("UR_TARGET_URL") | |
| WEBHOOK_URL = os.getenv("DISCORD_WEBHOOK_URL") |