Harsh Shandilya
2e3fdf0e0d
chore: fix Clippy lints
2023-08-25 04:03:15 +05:30
Harsh Shandilya
6eb291ba56
fix: allow serde and serde_derive to compile in parallel
2023-06-19 15:12:35 +05:30
Harsh Shandilya
c8e4e4856e
feat: put videos command behind a Cargo feature
...
Sadly Twitter appears to have broken it
2023-03-06 20:42:05 +00:00
Harsh Shandilya
ee16546de2
feat(config): use a bearer token for auth
...
This allows us to easily sidestep the incoming API restrictions
and just use Twitter's own API keys.
2023-02-02 10:47:20 +00:00
Harsh Shandilya
b039e075ea
refactor(cmds): directly pass the tweet iterator
...
This lays the foundation to allow running operations against individual
tweets rather than entire accounts.
2023-01-13 13:19:14 +00:00
Harsh Shandilya
64d862f2ad
feat: load credentials from config file
2022-11-01 18:30:40 +00:00
Harsh Shandilya
8de8c5d81b
feat(links): allow skipping host
2022-10-19 13:03:31 +05:30
Harsh Shandilya
56e16f0245
Migrate to clap v4
2022-09-29 11:42:18 +05:30
Harsh Shandilya
9c51643cf0
fix(cli): add missing docs and cleanup parameters
2022-08-18 18:22:26 +05:30
Harsh Shandilya
c7662e30eb
refactor(cli): commonize timeline creation
2022-08-18 18:07:23 +05:30
Harsh Shandilya
e33e08ca8b
refactor(cli): de-dupe CLI options
2022-08-18 17:54:38 +05:30
Harsh Shandilya
c2a0d00355
fix: address Clippy lints
2022-08-12 21:58:22 +05:30
Harsh Shandilya
882dc274b7
feat(cli): commonize timeline creation
2022-08-06 22:40:25 +05:30
Harsh Shandilya
1dde540bbc
feat(cmds): extract links command to its own module
2022-08-06 22:39:43 +05:30
Harsh Shandilya
cc707c1c77
feat(cmds): extract videos command to its own module
2022-08-06 22:21:15 +05:30
Harsh Shandilya
4ed707b2a9
feat(cmds): extract images command to its own module
2022-08-06 22:04:18 +05:30
Harsh Shandilya
de1c4db411
feat(cli): extract to its own module
2022-08-06 21:44:54 +05:30
Harsh Shandilya
6e9e3792f3
refactor(videos): simplify iteration
2022-07-30 20:58:35 +00:00
Harsh Shandilya
2059f656ef
fix: resolve clippy warnings
2022-07-29 15:00:21 +05:30
Harsh Shandilya
a6892ff029
feat(cli): add `twt videos` command
2022-07-29 13:32:10 +05:30
Harsh Shandilya
a57c004303
fix: resolve clippy warnings
2022-07-28 01:48:30 +05:30
Harsh Shandilya
582bf6817b
fix(cli): add missing argument descriptions
2022-07-28 01:42:56 +05:30
Harsh Shandilya
11ba6322ec
feat(cli): add links subcommand
2022-07-28 01:33:25 +05:30
Harsh Shandilya
11593a0799
feat(links): parameterize filter for `print_embedded_urls`
2022-07-28 01:26:50 +05:30
Harsh Shandilya
957dac6a32
feat: rename to `twt`
...
The CLI will deal with much more than images eventually
so future proofing the name makes sense
2022-07-27 14:50:24 +00:00
Harsh Shandilya
a74d1e4439
feat(cli): move images to a subcommand
...
In prep for more subcommands like links
2022-07-27 14:50:23 +00:00
Harsh Shandilya
fc91e1cd86
feat(cli): make auth secrets const and mandatory
2022-07-27 14:35:53 +00:00
Harsh Shandilya
3ed46bd24c
fix: address clippy lints
2022-06-28 11:10:25 +05:30
Harsh Shandilya
ee098e0013
fix(clap): opt-in and resolve deprecations
2022-06-27 11:29:34 +05:30
Harsh Shandilya
0fe75c958d
fix: only print image URLs
2022-06-27 11:17:29 +05:30
Harsh Shandilya
b6f216aa27
feat: print URLs included in the tweet body
...
These often link to higher resolution versions of the embedded images
2022-06-26 18:48:11 +05:30
Harsh Shandilya
79d3d9c128
feat: allow turning on retweets and replies
2022-05-07 15:54:15 +05:30
Harsh Shandilya
3453bb5b1b
feat: replace structopt with clap v3 and update dependencies
2022-05-07 15:35:48 +05:30
Harsh Shandilya
8c8a35f94f
fix: add missing elided lifetime
2022-02-15 02:31:51 +05:30
Harsh Shandilya
57e43da4b2
chore: use Rust 1.58 string interpolation
2022-02-15 01:17:50 +05:30
Harsh Shandilya
d791d62b2b
fix: prevent duplicates and source urls from extended media entities
...
This is compatible with tweets that contain more than one image
2022-01-12 02:38:10 +05:30
Harsh Shandilya
a2776baa0f
Revert "Print file name as part of output"
...
I've figured out a way to batch download without this
This reverts commit cfbde43163
.
2021-11-09 13:18:59 +05:30
Harsh Shandilya
c807379f5b
refactor: allow hard-coding credentials into the binary
2021-10-19 13:55:45 +05:30
Harsh Shandilya
cfbde43163
Print file name as part of output
2021-10-08 14:07:21 +05:30
nerix
6252c9b0be
feat: Add CLI Options ( #4 )
...
* feat: add cli options
* feat: add USERNAME as env-variable
* fix: rename consumer_secret to consumer_key_secret
This makes the old environment variable still usable
* fix: use TARGET_USERNAME insted of USERNAME
* docs: document CLI options
2021-10-02 01:39:50 +05:30
nerix
1950f57bdf
Add `MAX_AMOUNT` configuration ( #3 )
...
* feat: add optional MAX_AMOUNT config
Closes #2
* docs: document MAX_AMOUNT
2021-10-01 22:08:26 +05:30
Harsh Shandilya
7098acf036
Filter out thumbnails and replace loops with functional methods
2021-09-21 00:48:38 +05:30
Harsh Shandilya
f32e43ea3e
Initial commit
2021-09-20 11:15:47 +05:30