Skip to content

Instantly share code, notes, and snippets.

View harshalsonioo1's full-sized avatar
:octocat:

Harshal Soni harshalsonioo1

:octocat:
  • AltaML
  • Edmonton, Canada
View GitHub Profile
@harshalsonioo1
harshalsonioo1 / twitter_crawler.txt
Last active August 9, 2018 08:46 — forked from vickyqian/twitter crawler.txt
A Python script to download all the tweets of a hashtag into a csv
import tweepy
import csv
import pandas as pd
####input your credentials here
consumer_key = ''
consumer_secret = ''
access_token = ''
access_token_secret = ''
auth = tweepy.OAuthHandler(consumer_key, consumer_secret)