An open API service indexing awesome lists of open source software.

https://github.com/botcahx/tiktokpy

TikTok Downloader With Python
https://github.com/botcahx/tiktokpy

api-rest botcahx flask flesk python python3 tiktok-api tiktok-downloader

Last synced: 6 months ago
JSON representation

TikTok Downloader With Python

Awesome Lists containing this project

README

          

### TikTokPy Downloader

**TikTokPy Downloader** is a web application that allows users to easily download videos and audio from TikTok. This application uses Flask as the backend and integrates with an external API to retrieve video details.

## Features

- Enter a TikTok URL to get video and audio.
- Displays thumbnail, video title, and options to download video and audio.
- Responsive and modern user interface using Tailwind CSS.

## Technologies Used

- **Flask**: A web framework for Python.
- **HTML, CSS, JavaScript**: For the front end.
- **jQuery**: For AJAX and DOM interactions.
- **SweetAlert2**: For displaying notifications and modals.

## Installation

1. Clone this repository:

```bash
git clone https://github.com/BOTCAHX/TikTokPy.git
cd TikTokPy
```

2. Create and activate a virtual environment:

```bash
python -m venv venv
source venv/bin/activate # on Linux/Mac
.\venv\Scripts\activate # on Windows
```

3. Install dependencies:

```bash
pip install -r requirements.txt
```

4. Run the application:

```bash
python3 app.py
```

5. Open your browser and access `http://127.0.0.1:5000`.

## Build the Docker image
```
docker build -t flask-app .
```
## Run the Docker container
```
docker run -p 5000:5000 flask-app
```
## How to Use

1. Enter the TikTok video URL in the provided field.
2. Click the "Download" button.
3. Wait for the data to be fetched, and you will see the thumbnail and options to download the video and audio.

## Contributing

Feel free to fork this repository and submit a pull request if you have any suggestions or improvements.

## License

MIT

---