diff --git a/index.js b/index.js index 0d9c458..9f3e61c 100644 --- a/index.js +++ b/index.js @@ -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' }