Skip to content

Instantly share code, notes, and snippets.

@hiAndrewQuinn
Last active December 6, 2024 14:34
Show Gist options
  • Save hiAndrewQuinn/e1776d1e524ab424f9489a0454408b9e to your computer and use it in GitHub Desktop.
Save hiAndrewQuinn/e1776d1e524ab424f9489a0454408b9e to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
# List of usernames. MUST BE ALL LOWERCASE!
users=(
visakanv
eigenrobot
patio11
daniellefong
thezvi
richdecibels
qiaochuyuan
)
# ... Add anyone else you may want! I just grabbed the most followed accounts currently there.
# N.B.: Some accounts will just return "Object Not Found", not sure why.
# Use GNU parallel to download files in parallel.
# {} will be replaced with each username.
parallel -j4 curl -sS -o "tweets_{}.json" "https://fabxmporizzqflnftavs.supabase.co/storage/v1/object/public/archives/{}/archive.json" ::: "${users[@]}"
# Output: tweets_patio11.json, tweets_eshear.json, ..., tweets_TheZvi.json.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment