📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket
Sign inDemoInstall
Socket

twarc-timeline-archive

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

twarc-timeline-archive

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

0.1.3
PyPI
Maintainers
1

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

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts