Latest Threat Research:Malicious dYdX Packages Published to npm and PyPI After Maintainer Compromise.Details
Socket
Book a DemoInstallSign in
Socket

twid

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

twid

A simple Twitter scraping in headless mode for Chrome and Firefox, written in nodejs and doesn't need the Twitter API

Source
npmnpm
Version
0.2.2
Version published
Maintainers
1
Created
Source

twid - Twitter Intelligent Download

Scraping Twitter by headless mode, no API and limit.

Install

npm i -g twid

Usage

[!NOTE]
The token option is required because cookies are required to access the Twitter user's media resources.

Simple Usage

# twid <...users>
# Two users
twid elonmusk youyuxi --token YOUR_TOKEN

--token

You can find token in devtool -> application -> Cookie(chosse https://twitter.com) -> auth_token:

twid youyuxi --token YOUR_TOKEN

Other options

twid --help
Usage:
  $ twid [...users]

Commands:
  [...users]  

For more info, run any command with the `--help` flag:
  $ twid --help

Options:
  -O, --outDir [outDir]       The output dir (default: twid-dist)
  -T, --token <token>         The auth_token of cookies 
  -D, --dev [dev]             Dev mode, Set headless and devtools to true (default: false)
  -R, --retry [proretryduct]  Retry times (default: 3)
  -P, --product [product]     Use chrome of firefox (default: chrome)
  -h, --help                  Display this message

Keywords

twitter

FAQs

Package last updated on 03 Jan 2024

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