Skip to content

v2.1.2

Choose a tag to compare

@edsu edsu released this 01 Jun 19:37
e78352a

This release adds two new twarc2 subcommands:

conversations

conversations will read a file of tweets and look for any conversations they are a part of and will download the full conversation thread for them.

twarc2 conversations tweets.jsonl > conversations.jsonl

You can also give it a file of conversation_ids to download instead:

twarc2 conversations ids.txt > conversations.jsonl

timelines

Similarly timelines will read in a file of tweet ids and will download the user timeline for any user who authored the tweets.

twarc2 timelines tweets.jsonl > timelines.jsonl

You can also give it a file of user ids or usernames:

twarc2 timelines users.txt > timelines.jsonl

This functionality was first developed in the twarc-timelines plugin which has been renamed to twarc-timeline-archive because it does some extra things like writing timelines to separate directories and being able to be run on a schedule without redownloading previously downloaded data.