rm example.sh - tscrape - twitter scraper
(HTM) git clone git://git.codemadness.org/tscrape
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 07ed8752bbdf330e170b53dc29f35044cbbbe958
(DIR) parent 64d62523dd2ee855258cef621a0942875910e416
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 1 Feb 2020 15:30:37 +0100
rm example.sh
the field order was changed and tscrape_plain is a better use now.
Diffstat:
D example.sh | 15 ---------------
1 file changed, 0 insertions(+), 15 deletions(-)
---
(DIR) diff --git a/example.sh b/example.sh
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-t() {
- curl --http1.0 -H 'User-Agent:' -s "$2" | tscrape | sed 's@$@ '$1'@g'
-}
-
-(
-t 'tedunangst' 'https://twitter.com/tedunangst' &
-t 'richfelker' 'https://twitter.com/richfelker' &
-t 'transip' 'https://twitter.com/transip' &
-wait
-) | sort -k 1rn -t " " | awk -F " " '{
- printf("%-16.16s %-10.10s %-20.20s: %s\n",
- $2, $6, $5, $3);
-}'