Skip to content

Instantly share code, notes, and snippets.

View iamkalai's full-sized avatar

Kalaiarasan Pushpanathan iamkalai

View GitHub Profile
"""
1. Setup a Twitter Developer account and create new App, get its consumer key and consumer secret and replace them below
2. Replace TWEETS_DB, QUERY, and LANGUAGE values
3. Install required packages: `pip install tweepy schedule`
4. Run process using `python tweets_to_db.py`
"""
import tweepy
import sqlite3
import datetime