npm

@trunqkj3n/scraper
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

Installation

npm install --save @trunqkj3n/scraper

Use

// CJS
const ttk = require("@trunqkj3n/scraper")
// ESM
import ttk from "@trunqkj3n/scraper"

Meitu Cartoon

import { meitu } from "@trunqkj3n/scraper"
import fs from "fs-extra"
meitu("https://i.imgur.com/D8fKa88.jpg").then(({ base64 }) => fs.writeFileSync("./meitu_cartoon.png", base64, "base64"))

Y2Mate

import { getY2mateResponse } from "@trunqkj3n/scraper"
getY2mateResponse("https://www.youtube.com/watch?v=GxldQ9eX2wo").then(console.log).catch(console.error);

Snaptik

import { snapTik } from "@trunqkj3n/scraper"
snapTik("https://www.tiktok.com/@huyleexxx/video/7042559928573168898?q=m%C6%B0a%20tuy%E1%BA%BFt&t=1680181448159").then(console.log).catch(console.error);

Snapsave

import { snapSave } from "@trunqkj3n/scraper"
snapSave("https://fb.watch/jBgNhRo-pc/").then(console.log).catch(console.error);

Tools

import { facebook_fuid } from "@trunqkj3n/scraper"
facebook_fuid("https://www.facebook.com/thieutrungki3n").then(console.log).catch(console.error)

Author


TrunqKj3n

Package Sidebar

Install

npm i @trunqkj3n/scraper

Weekly Downloads

0

Version

1.0.5

License

MIT

Unpacked Size

32.8 kB

Total Files

18

Last publish

Collaborators

  • trunqkj3n