Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/botcahx/tiktokdl-api
Website Downloader TikTok video Without Watermark.
https://github.com/botcahx/tiktokdl-api
btch-downloader tiktok tiktok-api
Last synced: 17 days ago
JSON representation
Website Downloader TikTok video Without Watermark.
- Host: GitHub
- URL: https://github.com/botcahx/tiktokdl-api
- Owner: BOTCAHX
- License: mit
- Created: 2023-09-26T18:35:24.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-08T22:57:18.000Z (3 months ago)
- Last Synced: 2024-10-15T00:09:08.031Z (about 1 month ago)
- Topics: btch-downloader, tiktok, tiktok-api
- Language: CSS
- Homepage: https://widipe.com/tiktokdl
- Size: 31.3 KB
- Stars: 7
- Watchers: 1
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
---
## Description
This is a server-side API for downloading TikTok videos. It allows users to download videos from TikTok by providing the URL of the video.## Installation
1. **Clone the repository:**
```bash
git clone https://github.com/BOTCAHX/tiktokdl-api
```
2. **Navigate into the project directory:**
```bash
cd tiktokdl-api
```
3. **Install dependencies:**
```bash
npm install
```
4. **Install CoffeeScript globally (if not already installed):**
```bash
npm install -g coffeescript
```
5. **Compile the CoffeeScript file:**
```bash
coffee -c index.coffee
```## Usage
1. **Start the server using one of the following commands, depending on your setup:**
- **If using JavaScript:**
```bash
node index.js
```
- **If using CoffeeScript:**
```bash
coffee app.coffee
```2. **Access the API endpoint with the following format:**
```http
GET /tiktok/api.php?url=[URL_TIKTOK]
```
Replace `[URL_TIKTOK]` with the actual URL of the TikTok video you want to download.## Response
The API will respond with a JSON object containing the download URL and other relevant information about the video.**Example response:**
```json
{
"audio": [
"https://www.tikwm.com/video/music/6990916139345808666.mp3"
],
"video": [
"https://www.tikwm.com/video/media/play/6990916139345808666.mp4"
]
}
```## Error Handling
If there is an error with the URL or if the video is not available for download, the API will respond with a server error.## License
This project is licensed under the [MIT License](https://opensource.org/licenses/MIT).---