Skip to content

Instantly share code, notes, and snippets.

@jbn
Created February 27, 2020 15:52
Show Gist options
  • Save jbn/f6549a7794899320351c6927dbc09cb6 to your computer and use it in GitHub Desktop.
Save jbn/f6549a7794899320351c6927dbc09cb6 to your computer and use it in GitHub Desktop.
sudo apt-get install jq # See: https://stedolan.github.io/jq/download/
take Virus # or, mkdir Virus && cd Virus
python -m venv env
source env/bin/activate
pip jmespath twarc # https://github.com/DocNow/twarc
twarc configure # https://github.com/DocNow/twarc#quickstart
twarc filter "#TraceableMemeticVirus" | tee -a virus.jsonl | jq '. | {id: .id, who: .user.screen_name, what: .text}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment