Skip to content

Instantly share code, notes, and snippets.

View BenLu910's full-sized avatar

Benjamin Lu BenLu910

  • Hometown: Wilmington School: Chapel Hill
View GitHub Profile
@BenLu910
BenLu910 / twitter crawler.txt
Created March 1, 2019 01:19 — 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)