Skip to content

Instantly share code, notes, and snippets.

@laiso
Last active September 11, 2020 16:41
Show Gist options
  • Save laiso/85b6e8666569a0ed6c86391f70e783cc to your computer and use it in GitHub Desktop.
Save laiso/85b6e8666569a0ed6c86391f70e783cc to your computer and use it in GitHub Desktop.
findlist.bash #CodePiece
#!/bin/sh
# $ ./findlist.bash jack
id=$1
COUNTER=""
while [ true ]
do
name="list${COUNTER}"
curl -s "https://mobile.twitter.com/search?q=list%3A%40${id}%2F${name}&src=typed_query" | grep -s timeline > /dev/null && echo "list:@${id}/${name} HIT" || echo "list:@${id}/${name} MISS"
let COUNTER++
sleep 1
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment