Take a screenshot of a tweet and download all media from it
npm i tweet-shot
const tweetShot = require('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
.
tweet-bot --url https://twitter.com/Diablohu/status/1092414659057967104
Type tweet-bot -h
for options.
MIT © Diablohu