Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/update-ky-youtube.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Crawl Recent TJ Songs
name: Update ky by Youtube

on:
schedule:
Expand Down
1 change: 1 addition & 0 deletions packages/crawling/src/assets/crawlKYYoutubeFailedList.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25805,3 +25805,4 @@ Nightwalker-텐(TEN)
My Love Mine All Mine-Mitski
MONSTERS(최강야구OST)-이원석
Lose Control-Teddy Swims
Fruit Fly-Leah Dou,검정치마
1 change: 1 addition & 0 deletions packages/crawling/src/crawling/crawlRecentTJ.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ dotenv.config();

// action 우분투 환경에서의 호환을 위해 추가
const browser = await puppeteer.launch({
headless: true,
args: ['--no-sandbox', '--disable-setuid-sandbox'],
});

Expand Down
7 changes: 6 additions & 1 deletion packages/crawling/src/crawling/crawlYoutube.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@ import { isValidKYExistNumber } from './isValidKYExistNumber';
// youtube에서 KY 노래방 번호 크롤링
// crawlYoutubeValid에서 진행하는 실제 사이트 검증도 포함

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 baseUrl = 'https://www.youtube.com/@KARAOKEKY/search';
Expand Down