Skip to content
/ 0xTK Public

A Python script to download @tiktok as video (MP4) or audio (MP3)

Notifications You must be signed in to change notification settings

EIRSVi/0xTK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

TikTok Downloader 🎥🎶

Welcome to the TikTok Downloader! These scripts allow you to download TikTok videos, audio, or entire profiles with ease. You can choose to download individual videos, extract audio, or download all videos from a TikTok profile. The scripts are simple to use and work on both Linux and Windows.


What the Scripts Can Do ✅

tkva.py - TikTok Video/Audio Downloader

  1. Download Videos:

    • Save TikTok videos in MP4 format.
    • Videos are saved in the Videos folder (located in your home directory).
  2. Download Audio:

    • Extract audio from TikTok videos and save it as MP3.
    • Audio files are saved in the Music folder (located in your home directory).

tk.py - TikTok Profile Downloader

  1. Download Profile Videos:
    • Download all videos from a TikTok profile.
    • Videos are saved in a folder named after the profile inside the Videos directory.

What You Need to Use the Scripts 📋

  1. Python 3.x:

    • Make sure Python is installed on your computer.
    • Download it from python.org if you don’t have it.
  2. yt-dlp Library:

    • This is the tool the scripts use to download videos and audio.
    • Install it by running this command in your terminal or command prompt:
      pip install yt-dlp
  3. The Scripts:

    • Download the scripts (tkva.py and tk.py) and save them to your computer.

How to Use the Scripts 🚀

tkva.py - TikTok Video/Audio Downloader

  1. Open Terminal or Command Prompt:

    • On Linux: Open the terminal.
    • On Windows: Open Command Prompt or PowerShell.
  2. Run the Script:

    • Navigate to the folder where the script is saved.
    • Run the script by typing:
      python tkva.py
  3. Follow the Prompts:

    • Enter the TikTok video URL when asked.
    • Choose whether you want to download Video or Audio.
  4. Wait for the Download:

    • The script will download the file and save it in the correct folder:
      • Videos: Saved in ~/Videos (or C:\Users\YourUsername\Videos on Windows).
      • Audio: Saved in ~/Music (or C:\Users\YourUsername\Music on Windows).

tk.py - TikTok Profile Downloader

  1. Open Terminal or Command Prompt:

    • On Linux: Open the terminal.
    • On Windows: Open Command Prompt or PowerShell.
  2. Run the Script:

    • Navigate to the folder where the script is saved.
    • Run the script by typing:
      python tk.py
  3. Follow the Prompts:

    • Enter the TikTok profile URL when asked.
  4. Wait for the Download:

    • The script will download all videos from the profile and save them in a folder named after the profile inside the Videos directory.

Example Usage 🌐

tkva.py - TikTok Video/Audio Downloader

  1. Run the script:

    python tkva.py
  2. Enter the TikTok URL:

    Enter the TikTok video URL: https://www.tiktok.com/@example/video/123456789
    
  3. Choose download type:

    Do you want to download (v)ideo or (a)udio only? (v/a): v
    
  4. The file will be saved in the Videos or Music folder.


tk.py - TikTok Profile Downloader

  1. Run the script:

    python tk.py
  2. Enter the TikTok profile URL:

    Enter the TikTok profile URL: https://www.tiktok.com/@example
    
  3. The script will download all videos from the profile and save them in a folder named example inside the Videos directory.


Notes 📝

  • Internet Connection: A stable internet connection is required for smooth downloads.
  • Folder Creation: If the Videos or Music folders don’t exist, the scripts will create them automatically.
  • Profile Download: The tk.py script downloads all videos from a TikTok profile and organizes them into a folder named after the profile.

Credits 👏

  • Developed by: @EIRSVi and @kmjBuCa.
  • License: This project is open-source and free to use.

About

A Python script to download @tiktok as video (MP4) or audio (MP3)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages