MichaelDao / Tweet-Geo-Scraper

scrape tweet based on hashtags for data analysis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hashtag-scraper-to-json

scrape tweet based on hashtags for data analysis

based on this guide

I basically just fixed up the code so that it both uses python 3 and will now do some logging so you know whats going on.

Simply sign up for a twitter developer account and add your own credentials in. Change the hashtag to what you like and run in order

I prepared the script with all in one

  • python tweetMain.py

also you can do

  • python tweetScrape.py

Then when you feel like you have enough, process it into readable json

  • python tweetProcess.py

And

  • python tweetCSV.py

About

scrape tweet based on hashtags for data analysis


Languages

Language:Python 100.0%