Skip to content
Twitter script for gathering tweets from Twitter stream and save them on a CSV file
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
sample-tweets.csv
stream.py

README.md

About

Python script for connecting to Twitter stream, gather tweets that match a particular keyword, hashtag or mention and save them on a CSV file.

Keep up in mind that Twitter statuses/filter API has a 400 keywords limit for streaming realtime tweets.

sample-tweets.csv is a sample file for a search around SEO.

Requirements

To run this script, you'll need python 3.7 and the following libraries:

Running the application

Clone this repository to your computer. Finally, within the cloned folder, type the following in the command line to run the script locally:

python3 stream.py

You can’t perform that action at this time.