댓글 분석 & 자막 요약을 한 번에
다른 웹앱에서 이 분석 기능을 호출하세요
curl -X POST https://webapp-db4.pages.dev/api/analyze \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.youtube.com/watch?v=VIDEO_ID",
"options": {
"includeComments": true,
"includeTranscript": true,
"format": "json"
}
}'
fetch('https://webapp-db4.pages.dev/api/analyze', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
url: 'https://www.youtube.com/watch?v=VIDEO_ID',
options: {
format: 'json',
includeRawData: false
}
})
})
.then(res => res.json())
.then(data => {
console.log('제목:', data.videoTitle);
console.log('댓글:', data.data.comments);
console.log('스크립트:', data.data.transcript);
})
.catch(err => console.error(err));
import requests
response = requests.post(
'https://webapp-db4.pages.dev/api/analyze',
json={
'url': 'https://www.youtube.com/watch?v=VIDEO_ID',
'options': {
'format': 'json',
'includeComments': True,
'includeTranscript': True
}
}
)
data = response.json()
print(f"제목: {data['videoTitle']}")
print(f"댓글 개수: {data['data']['comments']['summary']['total']}")
includeComments
댓글 분석 포함 (기본: true)
includeTranscript
스크립트 분석 포함 (기본: true)
includeRawData
원본 데이터 포함 (기본: false)
format
"json" 또는 "txt" (기본: json)
분석 중입니다...
제목, 내용 요약, 댓글 요약을 TXT 파일로 저장하거나 복사하세요