Skip to content

asimsinan/twitter_scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

twitter_scraper

A Python script to scrape tweets matching a hashtag by using Twitter's Explore feature. This can be used for sentiment analysis purposes or training machine learning classifiers. The code is self-explanatory. See the comments in it.

  • No need to have a twitter account.
  • No need to set up an app.
  • Auto scroll until there is no matching tweets left.
  • Prints screen name of the account, matching tweet and the tweet date.

Usage

python3 twitter_scraper.py --hashtag #nameofthehashtag

About

A Python script to scrape tweets matching a hashtag

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages