downloader-api

NodeJS API for download vídeos and get infos [YT, Instagram, X, Tiktok, Soundcloud]

Stars
3
Committers
3

Video Downloader API

API para download de vídeos

Sites suportados:

  • YouTube
  • Instagram
  • TikTok
  • Twitter
  • SoundCloud

Instalação

git clone https://github.com/joaoandrejs/downloader-api
cd downloader-api
npm install

Executando

node index.js

Teste a aplicação:

curl http://localhost:3000/
  • Resposta: App is running...

Rspostas:

curl http://localhost:3000/api/getinfo?url=...

  • JSON retornado com as informações do vídeo
{
    author: {
        name: "",
        id: "",
        description: ""
    },
    video: {
        url: "",
        title: "",
        description: "",
        thumbnail: "",
        lengthSeconds: "",
        viewCount: ""
    }
}

curl http://localhost:3000/api/download?url=...

  • Retorna um arquivo ".mp4" para vídeos e ".mp3" para áudios
Related Projects