Twint Zero
Like Twint, but zero fat.
Installation
git clone https://github.com/twintproject/twint-zero
cd twint-zero
go mod init twint-zero
go mod tidy
Usage
- Without compiling:
go run main.go -Query $QUERY -Instance $INSTANCE -Format $FORMAT
- If you compiled... well at this point you are supposed to know.
CLI Arguments
$QUERY
: Here you go.
$INSTANCE
: Here you go.
$FORMAT
: "csv" or "json".
$TWEETLIMIT
: The number of tweets you want to see. Default is 0, meaning all you can get.
$ADDR
: The address to listen on. Default is "", which indicates that "print all tweets to terminal".
Usage Text
-Addr string
Specify the address to listen on. (default: none, prints to stdout.)
-Format string
Specify the return format: csv (default), or json. (default "csv")
-Instance string
Specify instance to get data from. (default "nitter.nl")
-Query string
Specify search query.
-TweetLimit int
Specify the number of tweets to return. 0 means no limit. Must be a positive integer. (default: 0)
Questions/issues
Sir, the bill is: five GitHub stars, two forks and one retweet.
That being quoted, feel free to reach out.
License
MIT
Credits
Francesco Poldi