This commit is contained in:
Dongho Kim
2026-06-22 02:43:30 +02:00
parent c12f0945a4
commit eaacddac55
+1 -1
View File
@@ -37,7 +37,7 @@ app.get('/stream/:channelId', async (req, res) => {
const { channelId } = req.params;
try {
const response = await axios.get(`https://api.chzzk.naver.com/service/v1/channels/${channelId}/live-detail`, {
const response = await axios.get(`https://api.chzzk.naver.com/service/v3/channels/${channelId}/live-detail`, {
headers: {
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36'
}