Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joaoandrejs/downloader-api
NodeJS API for download vídeos and get infos [YT, Instagram, X, Tiktok, Soundcloud]
https://github.com/joaoandrejs/downloader-api
download instagram soundcloud tiktok twitter x youtube
Last synced: 27 days ago
JSON representation
NodeJS API for download vídeos and get infos [YT, Instagram, X, Tiktok, Soundcloud]
- Host: GitHub
- URL: https://github.com/joaoandrejs/downloader-api
- Owner: joaoandrejs
- Created: 2024-06-27T01:44:52.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-08-13T20:59:54.000Z (3 months ago)
- Last Synced: 2024-09-27T11:42:41.970Z (about 1 month ago)
- Topics: download, instagram, soundcloud, tiktok, twitter, x, youtube
- Language: JavaScript
- Homepage:
- Size: 45.9 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Video Downloader API
API para download de vídeos### Sites suportados:
- YouTube
- TikTok
- SoundCloud## Instalação
```bash
git clone https://github.com/joaoandrejs/downloader-api
``````bash
cd downloader-api
``````bash
npm install
```## Executando
```bash
node index.js
```## Teste a aplicação:
```bash
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
```js
{
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