10000 GitHub - pthrasher/tweet-shot: Take a screenshot of a tweet and download all media from it
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

pthrasher/tweet-shot

 
 

Repository files navigation

tweet-shot

Take a screenshot of a tweet and download all media from it

Install

npm i tweet-shot

Usage (Programmatically)

const tweetShot = require('tweet-shot');

const main = async () => {
    // ...
    await tweetShot('https://twitter.com/Diablohu/status/1092414659057967104');
    // ...
};

main();

API

tweetShot(url[, options])

url

Type: String (required)

The URL of target tweet.

options

Type: Object

options.dest

Type: String

Destination directory. Default to current working directory.

options.proxy

Type: String

Proxy server URL.

options.scale

Type: Number

Page scale number. Default value 1.

Usage (CLI)

tweet-bot --url https://twitter.com/Diablohu/status/1092414659057967104

Type tweet-bot -h for options.

License

MIT © Diablohu

About

Take a screenshot of a tweet and download all media from it

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%
0