improve documentation, add example to man page - tscrape - twitter scraper
HTML git clone git://git.codemadness.org/tscrape
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 76a0d7401f45625133df4e1fc2639523e26442fb
DIR parent bd97a516b1d8ddc03dc0623d6e0e04b0e1e434db
HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 8 Mar 2016 19:06:14 +0100
improve documentation, add example to man page
Diffstat:
M README | 4 ++--
M tscrape.1 | 13 +++++++++++--
2 files changed, 13 insertions(+), 4 deletions(-)
---
DIR diff --git a/README b/README
@@ -12,11 +12,11 @@ $ make
Usage
-----
-curl -s 'https://twitter.com/namehere/with_replies' | tscrape 2>/dev/null
+curl -s 'https://twitter.com/namehere/with_replies' | tscrape
or without retweets:
-curl -s 'https://twitter.com/namehere' | tscrape 2>/dev/null
+curl -s 'https://twitter.com/namehere' | tscrape
Why
DIR diff --git a/tscrape.1 b/tscrape.1
@@ -1,4 +1,4 @@
-.Dd September 12, 2015
+.Dd March 8, 2016
.Dt TSCRAPE 1
.Os
.Sh NAME
@@ -19,7 +19,7 @@ The order and format of the fields are:
.It UNIX timestamp
UNIX timestamp in UTC+0.
.It timestamp
-Date and time in the format: YYYY-mm-ddTHH:MM:SSZ.
+Date and time in RFC3339 format: YYYY-mm-ddTHH:MM:SSZ.
.It tweet text
Tweet text.
.It username
@@ -27,6 +27,15 @@ Twitter username (can be a retweet).
.It fullname
Twitter fullname (can be a retweet).
.El
+.Sh EXAMPLES
+.Bd -literal -offset left
+curl -s 'https://twitter.com/namehere/with_replies' | tscrape
+.Ed
+.Pp
+or without retweets:
+.Bd -literal -offset left
+curl -s 'https://twitter.com/namehere' | tscrape
+.Ed
.Sh SEE ALSO
.Xr curl 1
.Sh AUTHORS