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

twitter-downloader

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

twitter-downloader

Scraper for download Video & Image from Twitter

  • 1.0.4
  • Source
  • npm
  • Socket score

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

Twitter Downloader

  • Used to download video & image from Twitter
  • No login or password are required

Installation

  • twitter-downloader requires Node.js v10+ to run.

Install from NPM

npm install twitter-downloader

Install from YARN

yarn add twitter-downloader

Usage

const { TwitterDL } = require("twitter-downloader");

const twitter_video_url =
    "https://twitter.com/AnimeWithRJ/status/1645156770266923008";
const twitter_image_url =
    "https://twitter.com/GenshinImpact/status/1645308130857820161";

TwitterDL(twitter_video_url).then((result) => {
    console.log(result);
});

Response

{
  status: "success" | "error"
  message?: string
  result?: {
    id: string
    created_at: string
    caption: string
    created_timestamp: number
    replies: number
    retweets: number
    likes: number
    possibly_sensitive: boolean
    url: string
    author: {
      id: string
      name: string
      username: string
      avatar_url: string
      banner_url: string
    }
    type: string
    media: string[]
  }
}

Keywords

FAQs

Package last updated on 07 Sep 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