0.3.0 • Published 3 months ago

twid v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

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

!NOTE The users parameter is in the url, like https://twitter.com/elonmusk

--token

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

npm.io

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
0.3.0

3 months ago

0.2.6

4 months ago

0.2.3

4 months ago

0.2.5

4 months ago

0.2.4

4 months ago

0.2.1

4 months ago

0.2.2

4 months ago

0.2.0

4 months ago

0.1.1

4 months ago

0.1.4

4 months ago

0.1.3

4 months ago

0.1.0

4 months ago

0.0.6

4 months ago

0.0.5

4 months ago

0.0.4

4 months ago

0.0.3

4 months ago

0.0.2

4 months ago

0.0.1

4 months ago