snippets/m2t.sh
2024-01-06 23:10:15 +01:00

2 lines
298 B
Bash
Executable File

while read handle; do clean_handle=$(echo $handle | sed 's/^@//'); echo "${handle} https://nitter.net/${clean_handle}"; curl -s "https://mamot.fr/api/v2/search?q=${handle}" | jq '.accounts[] | select(.statuses_count > 1 or .followers_count > 1) | .uri'; done < twitterhandle_to_import_to_mastodon