]> git.armaanb.net Git - bin.git/blob - tweet-grab
fa6faefb37f2e00eb18f2695458d726f765c6dcb
[bin.git] / tweet-grab
1 #!/usr/bin/env sh
2 FILE=/root/tweets/index.html
3 LOGFILE=/root/tweets/cron.log
4 > $FILE
5 curl https://nitter.net/keshinko | grep tweet-content | head -n 1 | sed -e 's/<[^>]*>//g' -e 's/^[ \t]*\(.*$\)/\1/' >> $FILE
6 tail -n 1000 $LOGFILE > $LOGFILE
7 date -R >> $LOGFILE