0.0.10 • Published 4 years ago

twitter-puppeteer v0.0.10

Weekly downloads
11
License
MIT
Repository
-
Last release
4 years ago

twitter-puppeteer

Install

npm install -g twitter-puppeteer

Basic usage

# show help
twitter-puppeteer --help

# get profile json of specific user
twitter-puppeteer profile yuiseki

# save tweets json of specific user
twitter-puppeteer timeline yuiseki > yuiseki.json

# extract only tweet text from specific user
twitter-puppeteer timeline yuiseki | jq '.[].full_text'

# extract only photo or video url from specific user
twitter-puppeteer timeline yuiseki | jq '.[] | select(.entities.media != null) | .entities.media[].media_url_https'

# extract only tweet text by search specific query
twitter-puppeteer search from:yuiseki | jq '.[].full_text'

Development

Run test

jest

!!! Punishment of Windows Powershell !!!

If you want to use this command in Windows Powershell, you should do following commands before using this command!

[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
$OutputEncoding = [Console]::OutputEncoding
0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago