README: fix twitter to Atom (sfeed) example - tscrape - twitter scraper
(HTM) git clone git://git.codemadness.org/tscrape
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit f0b2764a08ed2e73dc098f7b4792b81284624944
(DIR) parent ca46299e72f8e28b0f9211b55ccc65e62eaa9306
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 20 Jul 2021 14:49:43 +0200
README: fix twitter to Atom (sfeed) example
Thanks Nathaniel for reporting it!
Diffstat:
M README | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
(DIR) diff --git a/README b/README
@@ -29,12 +29,11 @@ Usage
Using sfeed to convert the tscrape TSV output to an Atom feed:
- tscrape < ~/.tscrape/feeds/name | \
awk 'BEGIN { OFS = FS = "\t"; }
{
print $1 OFS $4 OFS "https://twitter.com/" $6 "/status/" $5 \
OFS "" OFS "" OFS $5 OFS $7 OFS "";
- }' | sfeed_atom
+ }' < ~/.tscrape/feeds/name | sfeed_atom
sfeed can be found at: https://codemadness.org/git/sfeed/file/README.html