Collect images and videos from Twitter using Streaming API.
$ go get github.com/dqn/twmc
$ twmc [options...] <consumer-key> <consumer-secret> <access-token> <access-token-secret> <search-word>
-w
: comma separated whitelist for include Twitter clients.-d
: output directory (default./
).
e.g.
$ twmc -w "Twitter for iPhone,Twitter for Android" -d ./media/ XXXXX XXXXX XXXXX XXXXX golang
MIT