Er-Api SDK - v1.0.7
    Preparing search index...

    Function ermp3

    • Download audio in MP3 format using ER-MP3 endpoint.

      Parameters

      • u: string

        The URL of the video/audio source to be converted to MP3.

      Returns Promise<DownloadResponse>

      The response data containing download links and metadata.

      const result = await ermp3("https://youtube.com/watch?v=xxxx");
      console.log(result.audioUrl);