Take a screenshot of a tweet and download all media from it.
npm i tweet-shot
import tweetShot from 'tweet-shot';
const main = async () => {
// ...
await tweetShot('https://twitter.com/Diablohu/status/1092414659057967104');
// ...
};
main();
tweetShot(url[, options])
Type: String
(required)
The URL of target tweet.
Type: Object
Type: String
Destination directory. Default to current working directory.
Type: String
Proxy server URL.
Type: Number
Page scale number. Default value 1
.
Type: Boolean
Whether or not to tell the browser to use dark mode. Default value false
.
Type: Number
JPEG image quality (0-100). Default value 60
.
tweet-shot --url https://twitter.com/Diablohu/status/1092414659057967104
Type tweet-shot -h
for options.
MIT © Diablohu