Socket
Socket
Sign inDemoInstall

@xct007/tiktok-scraper

Package Overview
Dependencies
9
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1 to 0.0.2

dist/@types/index.d.ts

31

package.json
{
"name": "@xct007/tiktok-scraper",
"version": "0.0.1",
"version": "0.0.2",
"description": "Tiktok scraper directly to tiktok api",
"exports": {
".": {
"import": "./dist/esm/index.mjs",
"require": "./dist/cjs/index.cjs"
"import": "./dist/esm/index.js",
"types": "./dist/@types/index.d.ts",
"require": "./dist/cjs/index.js"
}
},
"main": "./dist/cjs/index.cjs",
"types": "./dist/esm/index.mjs",
"types": "./dist/@types/index.d.ts",
"main": "./dist/cjs/index.js",
"scripts": {
"test": "exit 0"
"clean": "rimraf ./dist",
"build:esm": "tsc -p tsconfig.esm.json",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:types": "tsc -p tsconfig.types.json",
"build:all": "npm run clean && npm run build:esm && npm run build:cjs && npm run build:types && node scripts/write-package.js"
},

@@ -25,6 +30,5 @@ "repository": {

"tiktod",
"ngent",
"api"
],
"author": "david",
"author": "FrierenDv",
"license": "MIT",

@@ -35,6 +39,13 @@ "bugs": {

"homepage": "https://github.com/xct007/tiktok-scraper#readme",
"devDependencies": {
"prettier": "^2.8.1",
"rimraf": "^3.0.2",
"ts-node": "^10.9.1",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"typescript": "^4.9.4"
},
"dependencies": {
"axios": "^1.1.3",
"https": "^1.0.0"
"axios": "^1.2.1"
}
}

@@ -13,3 +13,3 @@ ## Tiktok scraper

or
using yarn

@@ -25,3 +25,3 @@ ```sh

```js
const tiktok = require("@xct007/tiktok-scraper");
const { Tiktok } = require('@xct007/tiktok-scraper');
```

@@ -31,4 +31,4 @@

```ts
import tiktok from "@xct007/tiktok-scraper";
```js
import { Tiktok } from '@xct007/tiktok-scraper';
```

@@ -39,6 +39,6 @@

```js
const tiktok = require("@xct007/tiktok-scraper");
const { Tiktok } = require('@xct007/tiktok-scraper');
let url = "https://vt.tiktok.com/ZGJBtcsDq/";
tiktok(url).then(async (json) => {
const url = 'https://vt.tiktok.com/ZGJBtcsDq/';
Tiktok(url).then(async (json) => {
console.log(json);

@@ -50,26 +50,27 @@ });

```json
```js
{
"process_time": 2676,
"aweme_id": "6981186686579494145",
"region": "RU",
"desc": "#GenshinImpact #xiao #геншинимпакт #сяо #fyp #fypシ",
"author": {
"uid": "6832340325882987525",
"unique_id": "monyaxa",
"nickname": "моняша"
status: Boolean,
process_time: Number,
aweme_id: String,
region: String,
desc: String,
author: {
uid: String,
unique_id: String,
nickname: String,
},
"duration": 27,
"download": {
"nowm": "https://v38.tiktokcdn.com/379359d424fe8c021d335664fd1ddfa6/63595a7b/video/tos/alisg/tos-alisg-pve-0037c001/694bfefef14749e6bd106445647064fd/?a=1180&ch=0&cr=3&dr=0&lr=all&cd=0%7C0%7C0%7C3&cv=1&br=2470&bt=1235&cs=0&ds=6&ft=FcAYiNbhVUxwUatptdHOJLO55pRqR0iXXJApQlMyeC_O&mime_type=video_mp4&qs=0&rc=Njw1M2dpNWYzOjU0M2Q7NEBpanhweDY6ZmQ1NjMzODczNEBjMzIuNWE0NmIxMDQxLV9fYSNmbi1icjRfZGVgLS1kMS1zcw%3D%3D&l=202210261003450102450130380C036B0C&btag=80000&cc=f",
"wm": "https://v38.tiktokcdn.com/e904fff28f5661b97dd632a4c02a055c/63595a7b/video/tos/alisg/tos-alisg-pve-0037c001/a78982b719c44a7b913aa4c80558b779/?a=1180&ch=0&cr=3&dr=0&lr=all&cd=0%7C0%7C0%7C3&cv=1&br=2384&bt=1192&cs=0&ds=3&ft=FcAYiNbhVUxwUatptdHOJLO55pRqR0iXXJApQlMyeC_O&mime_type=video_mp4&qs=0&rc=NDo6OztpOmc4MzhnaWllZUBpanhweDY6ZmQ1NjMzODczNEBhMS8xMjNjNTQxL2FiMzBjYSNmbi1icjRfZGVgLS1kMS1zcw%3D%3D&l=202210261003450102450130380C036B0C&btag=80000&cc=f",
"music": "https://sf16-ies-music-va.tiktokcdn.com/obj/musically-maliva-obj/6955925411251522310.mp3",
"music_info": {
"id": 6955925330544627000,
"title": "original sound - khirq",
"author": "khira",
"is_original": false,
"cover_hd": "https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/a2c3cf143095a16d08548abe5f75e8bc~c5_1080x1080.webp?x-expires=1666864800&x-signature=NMoNEmfW187fE26N7UBzeYPHtps%3D",
"cover_large": "https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/a2c3cf143095a16d08548abe5f75e8bc~c5_1080x1080.webp?x-expires=1666864800&x-signature=NMoNEmfW187fE26N7UBzeYPHtps%3D",
"cover_medium": "https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/a2c3cf143095a16d08548abe5f75e8bc~c5_720x720.webp?x-expires=1666864800&x-signature=1p3zb65%2F4lDZta%2FNVe%2FcEdOyDXk%3D"
duration: Number,
download: {
nowm: String,
wm: String,
music: String,
music_info: {
id: Number,
title: String,
author: String,
is_original: Boolean,
cover_hd: String,
cover_large: String,
cover_medium: String,
}

@@ -76,0 +77,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc