Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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: 1 day ago
JSON representation

ទាញ​យក​​​​វីដេអូ​ពី TikTok បានទាំងពីរ video ឬ audio ដោយប្រើប្រាស់ Terminal ប្រើពេលរយវេលាខ្លី

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 [email protected]: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.