Last active
December 6, 2024 14:34
-
-
Save hiAndrewQuinn/e1776d1e524ab424f9489a0454408b9e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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