Skip to content

adhikary97/Twitter-Scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tweet Scraper

This script can pull up to 3200 tweets of any given user

Install dependencies:

$ pip install -r requirements.txt

To set your enviornment variables in your terminal run the following line:

$ export 'BEARER_TOKEN'='<your_bearer_token>'

Sample execution:

$ python main.py --username elonmusk

All tweet data will be stored in a json file which will be named <username>.json

Releases

No releases published

Packages

No packages published

Languages