Skip to content

yosbelm/extractSubtitlesCapcut

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ’Έ CapCut Subtitle Extractor (Free Tier Savior) πŸ’Ύ

Stop paying for CapCut Pro just to get your subtitles! Use this Python script to quickly extract the text from your CapCut Desktop projects.

🀝 What is This?

This is a Python script designed for CapCut Desktop (Windows). Its primary goal is to automate the extraction of auto-generated subtitles directly from the project file (draft_content.json) and save them into a clean plaintext file (.txt).

✨ Key Features (The Selling Points)

Feature Core Benefit
FREE Subtitles Bypass the CapCut Pro paywall. Get the text you already generated without paying for the export feature.
Extreme Robustness Even if CapCut saves the internal JSON file in a truncated or corrupted state, the script uses Regular Expressions (RegEx) to force a text extraction.
Run & Go Only requires Python installed. The script automatically locates your Windows user folder and constructs the necessary project path.

πŸš€ Quick Usage (Let's Go!)

1. Requirements

Make sure you have Python 3.x installed.

2. Execution

Place extract.py and get_route.py in the same folder. Run the script by passing the exact folder name of your CapCut project as an argument:

# SYNTAX
python extract.py "<CapCut Video/Project Folder Name>"

# EXAMPLE
python extract.py "0012"

3. Output

If the execution is successful, a text file will be generated in the same folder as the script:

πŸ“ Project Structure

  • extract.py: The main script. It handles JSON loading, robust RegEx extraction, and final file writing.
  • get_route.py: Responsible for finding the user's name and constructing the absolute path to the project's draft_content.json file.

Built with β˜• and contempt for unnecessary paywalls.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages