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

@arifzyn/scraper

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arifzyn/scraper

Social media scraper module

  • 1.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

Social media Scraper

Scraper social media data

Installation

npm i @arifzyn/scraper

Usage

Example tiktok video download

// Import module
import { savefrom, tiktokdl } from '@arifzyn/scraper'

const url = 'https://www.tiktok.com/@omagadsus/video/7025456384175017243?is_from_webapp=1&sender_device=pc&web_id6982004129280116226'
// Using tiktokdl
const data = await tiktokdl(url)
console.log(data) // JSON
// Using savefrom
const result = await savefrom(url)
console.log(result) // JSON

Example download youtube video

import { youtubedl } from '@arifzyn/scraper'

const data = await youtubedl('https://youtu.be/iik25wqIuFo')
console.log(data) // JSON
console.log(Object.keys(data.video)) // List of resolution/quality
const url = await data.video['720p'].download() // Download '720p' video
console.log(url) // string

FAQs

Package last updated on 08 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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