How To Scrape Tweets With Python

Manpreet Singh
2 min readJun 8, 2022

Welcome back! Python is an awesome programming language with a ton of capability, if you’re new to Python, check out the link below to learn more about it:

So, let’s take a look at an awesome way to scrape tweets with Python! This specific method is by using the Twint package, here is a link to their GitHub repository:

This specific tool allows us to scrape tweets without using the Twitter API, this allows us to get as much data as we want without restrictions (most of the time). To start using this package, you can use the following pip command:

pip3 install twint

You can also clone this repository using the following command:

git clone --depth=1 https://github.com/twintproject/twint.git
cd twint
pip3 install . -r requirements.txt

--

--

Manpreet Singh
Manpreet Singh

Responses (1)