title: Temporary fetch audio from URL, write id3 and send it to user
body: <p>I was making a YouTube music downloader and i use next and react and it will return like URL of audio and the information of that song but i don't really know how to temporary fetch the audio write the id3 in background and send it to user</p>
  <p>i found a way but i dont know if it will work and i dont know what the negative impact using this method</p>
  <pre class="lang-js prettyprint-override"><code>const axios = require('axios');
  const NodeID3 = require('node-id3');
  
  const tags = {
    title: 'Tomorrow',
    artist: 'Kevin Penkin',
    album: 'TVアニメ「メイドインアビス」オリジナルサウンドトラック',
    TRCK: '27'
  };
  
  const url =
    'https://file-examples.com/storage/fe52cb0c4862dc676a1b341/2017/11/file_example_MP3_5MG.mp3';
  
  const handler = async (req, res) =&gt; {
    const response = await axios(url, { responseType: 'arraybuffer' });
    const success = NodeID3.write(tags, response.data); // Returns Buffer
    res.setHeader('Content-Type', 'audio/mpeg');
    res.setHeader('Content-Disposition', 'attachment; filename=dummy.mp3');
    res.send(success);
    // await pipeline(success, res);
  };
  
  export default handler;
  </code></pre>