A simple tool for collecting favorited images from twitter. Support Twitter API v1.1.
> cargo build --release
> APP_CLIENT_KEY=<api-key> APP_CLIENT_SECRET=<api-secret-key> RESOURCE_OWNER_KEY=<access-token> RESOURCE_OWNER_SECRET=<access-secret> ./lyubitori download --save-path <image-save-path>
APP_CLIENT_KEY=<api-key> APP_CLIENT_SECRET=<api-secret-key> RESOURCE_OWNER_KEY=<access-token> RESOURCE_OWNER_SECRET=<access-secret> ./lyubitori download --save-path <image-save-path> --scanall
oauth: user auth for fetching protected tweets[DONE]download video/mp4[DONE]download png img[DONE]- like & download tweets images from certain user's DM
- send update messages to slack if new images were added
- update image meta data into elasticsearch
- call image classification API to tag images & add results to elasticsearch
protected media could be downloaded with Oauth signing(tested)[DONE]Github Actions[DONE]- save tweet text for further analysis
- add a redownload switch, don't redownload existed file by default.
- support download animated-gif