From 50b92523d5b8ba0220bf366840d4aa56dc139e94 Mon Sep 17 00:00:00 2001 From: GulSam00 Date: Sat, 14 Mar 2026 23:14:14 +0900 Subject: [PATCH] =?UTF-8?q?fix=20:=20crawlYoutubeVerify=20=EC=9A=B0?= =?UTF-8?q?=EB=B6=84=ED=88=AC=20=ED=99=98=EA=B2=BD=20Puppeteer=20=EC=83=8C?= =?UTF-8?q?=EB=93=9C=EB=B0=95=EC=8A=A4=20=EC=98=B5=EC=85=98=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- packages/crawling/src/crawling/crawlYoutubeVerify.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/crawling/src/crawling/crawlYoutubeVerify.ts b/packages/crawling/src/crawling/crawlYoutubeVerify.ts index 0ce5653..1091ae0 100644 --- a/packages/crawling/src/crawling/crawlYoutubeVerify.ts +++ b/packages/crawling/src/crawling/crawlYoutubeVerify.ts @@ -9,7 +9,11 @@ import { isValidKYExistNumber } from './isValidKYExistNumber'; // 기존에 등록된 KY 노래방 번호가 실제로 KY 노래방과 일치하는지 검증 // 유효한 곡은 verify_ky_songs 테이블에 insert -const browser = await puppeteer.launch(); +// action 우분투 환경에서의 호환을 위해 추가 +const browser = await puppeteer.launch({ + headless: true, + args: ['--no-sandbox', '--disable-setuid-sandbox'], +}); const page = await browser.newPage(); const data = await getSongsKyNotNullDB();