1.0.5 • Published 3 years ago
tiktokscrape v1.0.5
tiktokscraper
Installation
Install tiktokscrape with npm
npm install tiktokscrape
Install tiktokscrape with yarn
yarn add tiktokscrape
Example
const { TikTok } = require("tiktokscraper")
const scraper = new TikTok()
scraper.tiktokScraper({
username: "tiktok",
})
.then(async (data) => {
console.log(data);
});
Console output
{
username: 'tiktok',
followings: '543',
followers: '61.1M',
likes: '265M',
dsc: 'You Have To See It 👀',
url: 'https://www.tiktok.com/@tiktok',
pfp: 'https://p16-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/1971e99be0d67160f34f39fb1d66a0e5~c5_100x100.jpeg?x-expires=1647277200&x-signature=nW%2F5bqAsSmzmaA%2FfsZB2qRUzIFg%3D'
}