Skip to content
On this page

@screaming/twitter-scraper

Introduction

@screaming/twitter-scraper is a command-line tool for scraping twitter for tweets matching search criteria.

WARNING

This tool is the result of constant hounding from Tom and Ellie who are too lazy to manually scroll through thousands of tweets. As such, features have been mashed on where appropriate.

It is far from complete and can only retrieve tweets up until 7 days before the time of running.

View source code.

Installation

Install globally with your favourite package manager:

sh
# yarn
yarn global add @screaming/twitter-scraper

# pnpm
pnpm add --global @screaming/twitter-scraper

# npm
npm install --global @screaming/twitter-scraper
1
2
3
4
5
6
7
8

Initiation

CLI Prompt:

sh
twitter-scraper input_file.json
1