This commit is contained in:
2026-01-26 15:32:03 +09:00
parent d89d793efa
commit d4926646f9
2 changed files with 2 additions and 2 deletions
@@ -131,7 +131,7 @@ object DynamicNewsScraper {
object SafeScraper {
// 동시 실행 브라우저 탭을 5개로 제한 (M3 Pro라면 10~20개도 여유롭습니다)
private val semaphore = Semaphore(5)
private val semaphore = Semaphore(2)
suspend fun scrapeParallel(corpInfo: CorpInfo,urls: List<NewsItem>) = coroutineScope {
var query = "${corpInfo.cName} ${corpInfo.cCode} ${corpInfo.stockCode}"