Skip to content

Instantly share code, notes, and snippets.

View ohrely's full-sized avatar
🍄

R Ely ohrely

🍄
  • Bloomberg LP
  • San Francisco
View GitHub Profile
@ohrely
ohrely / twitter crawler.txt
Created February 27, 2018 02:13 — 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)