A lightweight Node.js utility designed to process media metadata and retrieve resource links from TikTok via snaptik.app. Built for educational exploration of web scraping techniques.
Important
Disclaimer: This tool is for educational purposes and personal use only. The developer does not condone or encourage copyright infringement. Users are responsible for ensuring their use of this software complies with the Terms of Service of the platforms involved and local laws.
- Single Video Support: Download TikTok videos without watermark.
- Photo Slideshows: Automatically download all images in a photo post.
- Auto-Organization: Creates structured folders for photo collections.
- Real-time Progress: Interactive CLI with progress bars and status spinners.
Clone the repository and install the dependencies:
npm installTo process a TikTok URL, run the following command:
node cli.js "TIKTOK_URL"-o, --output <path>: Specify the output directory (defaults to./downloads).
- axios: For handling HTTP requests.
- cheerio: For parsing HTML content.
- commander: For the CLI interface.
- cli-progress: For visual progress bars.
- fs-extra: For enhanced file system operations.
- ora: For terminal spinners.
- chalk: For terminal styling.
const snaptik = require("./index");
async function example() {
const result = await snaptik("TIKTOK_URL");
console.log(result);
}
example();├── downloads/ # Downloaded media files
├── cli.js # Command-line interface
├── index.js # Main scraper logic
├── package.json # Project dependencies
└── README.md # Documentation
Web scrapers are sensitive to changes in the target website's structure. If the tool stops working, please check for updates or report an issue.
This project is licensed under the MIT License - see the LICENSE file for details.