videoDownloadTGbot/tiktok-downloader/README.md

47 lines
783 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# TikTok Video Downloader
Микросервис для скачивания видео с TikTok
## Порт
- Внутренний порт: 5000
- Внешний порт: 5559
## API
### Health Check
```
GET /health
```
Ответ:
```json
{"status": "ok", "service": "tiktok-downloader"}
```
### Скачать видео
```
POST /download/stream
Content-Type: application/json
{
"url": "https://www.tiktok.com/@username/video/1234567890"
}
```
Возвращает бинарные данные видео.
## Запуск
```bash
docker-compose up -d --build
```
## Поддерживаемые URL
- `https://www.tiktok.com/@username/video/1234567890`
- `https://vm.tiktok.com/ZM...` (короткие ссылки)
- `https://m.tiktok.com/v/1234567890`