Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iamwinner422/yt-clip-downloader-v1
Youtube Clip Downloader is a Node.js-based tool that allows users to download specific video clips from YouTube by providing a video URL, start time, and clip duration.
https://github.com/iamwinner422/yt-clip-downloader-v1
api-rest clip express-js ffmpeg fluent-ffmpeg shorts tiktok video youtube youtube-dl youtube-downloader ytdl-core
Last synced: 3 days ago
JSON representation
Youtube Clip Downloader is a Node.js-based tool that allows users to download specific video clips from YouTube by providing a video URL, start time, and clip duration.
- Host: GitHub
- URL: https://github.com/iamwinner422/yt-clip-downloader-v1
- Owner: iamwinner422
- Created: 2024-12-26T15:47:30.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-12-28T10:03:58.000Z (about 1 month ago)
- Last Synced: 2025-02-07T12:41:45.247Z (3 days ago)
- Topics: api-rest, clip, express-js, ffmpeg, fluent-ffmpeg, shorts, tiktok, video, youtube, youtube-dl, youtube-downloader, ytdl-core
- Language: JavaScript
- Homepage: https://yt-clip-downloader.onrender.com/
- Size: 59.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Youtube Clip Downloader API
This API allows you to download specific segments of YouTube videos by specifying a start timestamp and duration. It's based on [ytdl-core](https://github.com/fent/node-ytdl-core), [fluent-ffmep](https://github.com/fluent-ffmpeg/node-fluent-ffmpeg) and [ffmpeg-static](https://github.com/eugeneware/ffmpeg-static)
## Demo link:
https://yt-clip-downloader.onrender.com## Usage
### Download a clip
1. **Endpoint**: ```GET /download-clip```2. **Query Parameters**:
| Parameter | Type | Description | Required |
|-----------|--------|--------------------------|----------|
|url | string | YouTube video URL | yes |
|start | number | Start time in seconds | yes |
|duration | number | Clip duration in seconds | yes |3. **Example**:
```
curl "http://localhost:3000/download-clip?url=https://youtu.be/dQw4w9WgXcQ&start=500&duration=60"
```### Get Video Informations
1. **Endpoint**: ```GET /video-infos```2. **Query Parameters**:
| Parameter | Type | Description | Required |
|-----------|--------|--------------------------|----------|
|url | string | YouTube video URL | yes |3. **Example**:
```
curl "http://localhost:3000/video-infos?url=https://youtu.be/dQw4w9WgXcQ&start=500&duration=60"
```