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.
- 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.
- 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.
-
Clone this repository:
git clone https://github.com/BOTCAHX/TikTokPy.git cd TikTokPy
-
Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # on Linux/Mac .\venv\Scripts\activate # on Windows
-
Install dependencies:
pip install -r requirements.txt
-
Run the application:
python3 app.py
-
Open your browser and access
http://127.0.0.1:5000
.
docker build -t flask-app .
docker run -p 5000:5000 flask-app
- Enter the TikTok video URL in the provided field.
- Click the "Download" button.
- Wait for the data to be fetched, and you will see the thumbnail and options to download the video and audio.
Feel free to fork this repository and submit a pull request if you have any suggestions or improvements.
MIT