This is a GUI-based TikTok Video Downloader built using Python. The software allows users to paste a TikTok video URL, select a save location, and download the video in high quality (MP4 format). The interface is designed with a modern look using ttkthemes
and ttkbootstrap
.
-
Download TikTok videos in high quality (MP4 format).
-
User-friendly graphical interface.
-
Allows users to choose a save location before downloading.
-
Uses
yt-dlp
for extracting and downloading videos. -
Modern UI with
ttkbootstrap
andttkthemes
. -
Custom icon support.
The following Python libraries are used in this project:
Library | Purpose |
---|---|
tkinter |
Provides the graphical user interface (GUI) framework. |
yt-dlp |
Downloads videos from TikTok and other platforms. |
ttkthemes |
Enhances the look and feel of the tkinter GUI. |
ttkbootstrap |
Provides modern Bootstrap-themed widgets for tkinter. |
os |
Used for handling file paths and checking the existence of the icon file. |
-
Install Python (if not already installed): Download Python.
-
Install required dependencies by running the following command:
pip install yt-dlp ttkthemes ttkbootstrap tkinter
-
Clone the repository or download the script:
git clone https://github.com/Tarekuzjaman0/TikTok-Downloader.git cd TikTok-Downloader
-
Run the script:
python tiktok_downloader.py
- The application is built using
tkinter
. ThemedTk
(fromttkthemes
) is used to apply a modern UI theme.ttkbootstrap
provides enhanced Bootstrap-style widgets.- The application window is set to 450x250 pixels and is non-resizable.
- A custom icon (
clock.ico
) is applied if it exists.
- The user enters a TikTok video URL.
- The
download_video
function validates the URL and prompts the user to select a save location. - The
yt-dlp
library is used to fetch and download the best available video and audio streams. - The downloaded file is merged and saved in MP4 format.
- Success or error messages are displayed accordingly.
- Open the application.
- Enter a valid TikTok video URL in the input field.
- Click the "Download Video" button.
- Choose a folder where the video will be saved.
- Wait for the download to complete and check the selected folder for the video.
-
Ensure that
yt-dlp
is updated to the latest version for compatibility with TikTok:pip install --upgrade yt-dlp
-
If downloading fails, check your internet connection and ensure the TikTok URL is accessible.
This project is licensed under the MIT License - see the LICENSE file for details.