Skip to content

A simple tool for collecting favorited images from twitter.

License

Notifications You must be signed in to change notification settings

nyanshell/lyubitori

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lyubitori

A simple tool for collecting favorited images from twitter. Support Twitter API v1.1.

Build

> cargo build --release

Usage

Download recent favorited

> 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>

Download all history

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

TODO

  • 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

About

A simple tool for collecting favorited images from twitter.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages