tiktokdl-core
v1.0.0
Published
tiktok video downloader without watermark, slide photo, audio.
Downloads
19
Readme
TikTokDL
TikTokDL is a Node.js package created by @Rlzyy for scraping TikTok videos and audio. It extracts video URLs, captions, and user details from TikTok.
Installation
Install Node.js: Make sure Node.js is installed. If not, you can install it using Termux:
pkg install nodejs
Install TikTokDL: Create a project directory and install TikTokDL:
mkdir tiktok-scraper cd tiktok-scraper npm init -y npm install tiktokdl-core
Usage
CommonJS (CJS)
Create a file named scrape-tiktok.js
:
const tiktok = require('tiktokdl-core');
const url = 'https://www.tiktok.com/@example/video/1234567890';
tiktok(url).then(result => {
console.log('TikTok Scraper Result:', result);
}).catch(error => {
console.error('Error:', error);
});