Skip to main content

A twarc plugin to collect the timelines of a list of users

Project description

twarc-timeline-archive

This module extends twarc to allow you to fetch the timelines for a list of users (either Twitter user_ids or usernames). Unlike the twarc2 timelines subcommand twarc2 timeline-archive is designed to be run on a schedule and will only fetch new tweets since the last run instead of the entire timeline.

All the tweets will be written to files named after the user in the given directory. When you run timelines successively on multiple days it is smart enough to only fetch tweets since the last tweet that was found for the user.

Install with:

pip3 install --upgrade twarc-timeline-archive

And run it like this:

twarc2 timeline-archive users.txt /path/to/a/directory

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

twarc-timeline-archive-0.1.3.tar.gz (3.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page