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
File details
Details for the file twarc-timeline-archive-0.1.3.tar.gz
.
File metadata
- Download URL: twarc-timeline-archive-0.1.3.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8c4df87bcc31891850f1ddd98c70c65d3366390dab8faed59d887e2d98e00c5 |
|
MD5 | 9aab1a6f32144ee8dee347dd0f1f5676 |
|
BLAKE2b-256 | d6d4a23d660dac270e55952d8979587f93a82a6d89481b0c8facd38258018ca1 |