const url = `https://www.youtube.com/watch?v=qrGRv0uMuag` detail(url, true) .then(res => { console.log(res); }) .catch(e => { console.log(e); })