2 # Grabs a tweet form a user and display it. Avoids using the twitter
3 # API by scrapping a nitter instance, which can easily be scraped,
4 # unlike the intentionally crippled twitter.com. Powers
5 # https://ishaan.bhojwani.org
7 INSTANCE=${INSTANCE:-https://nitter.fdn.fr}
10 printf "Content-type: text/plain\n\n"
11 curl -s "$INSTANCE/$USER" | grep tweet-content | head -n 1 \
12 | sed -e 's/<[^>]*>//g' -e 's/^[ \t]*\(.*$\)/\1/'