Created
July 22, 2018 12:40
-
-
Save raelga/13f3588d47cb9d20ecc866b1693caf14 to your computer and use it in GitHub Desktop.
This file contains 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
for u in $(curl -sq https://destinytracker.com/d2/clan/427309/the-packets | sed -n 's@.*clanmembers = \(.*\)</script>@\1@p' | jq -c '.[] | { id: .DestinyUserInfo.membershipId, name:.DestinyUserInfo.displayName }' 2>/dev/null); do echo "$(echo $u | jq -c '.name') - Last played on $(curl -sq https://destinytracker.com/d2/api/profile/2/$(echo $u | jq -r -c '.id' )/recentgames | jq -c '.matches | .[0].period' 2>/dev/null)"; done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment