Tag generate

 

const axios = require('axios'); const apiKey = 'YOUR_API_KEY'; const videoUrl = 'https: const videoId = videoUrl.split('//www.youtube.com/watch?v=VIDEO_ID'; const videoId = videoUrl.split('v=')[1]; axios.get(`https://www.googleapis.com/youtube/v3/videos?part=snippet&id=${videoId}&key=${apiKey}`) .then(response => { const tags = response.data.items[0].snippet.tags; console.log(tags); }) .catch(error => { console.error(error); });

Post a Comment

Previous Next

نموذج الاتصال