https://github.com/eirsvi/tiktok-video-audio-downloader
ទាញយកវីដេអូពី TikTok បានទាំងពីរ video ឬ audio ដោយប្រើប្រាស់ Terminal ប្រើពេលរយវេលាខ្លី
https://github.com/eirsvi/tiktok-video-audio-downloader
python script tiktok tiktok-downloader tt
Last synced: 5 months ago
JSON representation
ទាញយកវីដេអូពី TikTok បានទាំងពីរ video ឬ audio ដោយប្រើប្រាស់ Terminal ប្រើពេលរយវេលាខ្លី
- Host: GitHub
- URL: https://github.com/eirsvi/tiktok-video-audio-downloader
- Owner: EIRSVi
- Created: 2024-09-29T10:53:31.000Z (about 1 year ago)
- Default Branch: docs
- Last Pushed: 2024-09-29T14:29:29.000Z (about 1 year ago)
- Last Synced: 2024-12-25T21:08:29.018Z (11 months ago)
- Topics: python, script, tiktok, tiktok-downloader, tt
- Language: Python
- Homepage: https://www.tiktok.com/
- Size: 11.7 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TikTok Video & audio Downloader
Welcome to the **TikTok Video Downloader**. This tool allows you to download TikTok videos or audio directly to your device.
## Features
- **Download TikTok Videos**: Save any TikTok video to your local machine.
- **Audio Extraction**: Option to extract and download only the audio from TikTok videos in MP3 format.
## Requirements
- Python 3.x
- [yt-dlp](https://github.com/yt-dlp/yt-dlp) (YouTube-DL fork)
- [Colorama](https://pypi.org/project/colorama/)
- [pyfiglet](https://pypi.org/project/pyfiglet/)
Install the necessary Python packages using:
```bash
pip install yt-dlp colorama pyfiglet
```
## Usage
1. Clone this repository:
```bash
git clone git@github.com:EIRSVi/tiktok-video-audio-downloader.git
cd ttdl.py
```
2. Run the script:
```bash
python ttdl.py
```
3. Input the TikTok video URL when prompted:
```
Enter the TikTok video URL: https://www.tiktok.com/@user/video/123456789
```
4. Choose whether to download the **video** or **audio**:
```
Do you want to download (v)ideo or (a)udio only? (v/a): v
```
### Example
```bash
python ttdl.py
```
**Input:**
```
Enter the TikTok video URL: https://www.tiktok.com/@user/video/123456789
Do you want to download (v)ideo or (a)udio only? (v/a): v
```
**Output:**
```
Video downloaded successfully to: ~/Downloads
```
## Support
Support the development of SRIEVi by following us on:
- [GitHub](https://github.com/EIRSVi)
Stay connected with us for updates and improvements!
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
**SRIEVi © 2024**
### Key Sections:
- **SRIEVi Logo**: Replace the placeholder with your logo URL or remove if unnecessary.
- **Features**: Outlines what the script does.
- **Requirements**: Lists dependencies and how to install them.
- **Usage**: Walkthrough on how to run the script.
- **Example**: Demonstrates a typical user input/output.
- **Support**: Links to your social profiles.