New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

tiktok-scraper-ts

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tiktok-scraper-ts - npm Package Compare versions

Comparing version 1.2.7 to 1.2.8

1

dist/main.d.ts

@@ -533,2 +533,3 @@ /**

* @param content the HTML content of the Page
* @deprecated No need for this function anymore since Tiktok now adds the json directly to the html
*/

@@ -535,0 +536,0 @@ private handleHTMLContent;

2

package.json
{
"name": "tiktok-scraper-ts",
"version": "1.2.7",
"version": "1.2.8",
"description": "A scraper for tiktok videos, users and more",

@@ -5,0 +5,0 @@ "main": "dist/main.js",

@@ -29,3 +29,3 @@ # tiktok-scraper

## Methods
## Class Methods

@@ -41,2 +41,16 @@ ```ts

## Individual Functions
Since 1.2.6 you can also import functions directly
### API
```ts
fetchVideo(url); // Same as TTScraper.video(url)
fetchUser(username); // Same as TTScraper.user(username)
fetchAllVideosFromUser(username); // Same as TTScraper.getAllVideosFromUser(username)
fetchMusic(url); // Same as TTScraper.getMusic(url)
fetchVideoNoWaterMark(url); // Same as TTScraper.noWaterMark(url)
```
## Examples

@@ -56,2 +70,11 @@

// OR
import { fetchVideo } from "tiktok-scraper-ts";
(async () => {
const video = await fetchVideo("link");
console.log(video);
})();
// ==>

@@ -91,2 +114,11 @@

// OR
import { fetchUser } from "tiktok-scraper-ts";
(async () => {
const user = await fetchUser("link");
console.log(user);
})();
// ==>

@@ -93,0 +125,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc