Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View geethuth's full-sized avatar

Geethu Thottungal Harilal geethuth

  • Middlesex University
  • London
View GitHub Profile
@vickyqian
vickyqian / twitter crawler.txt
Last active July 23, 2023 16:52
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)