Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/llebout/imgur-enumerator
Enumerates valid image links from imgur.
https://github.com/llebout/imgur-enumerator
Last synced: about 6 hours ago
JSON representation
Enumerates valid image links from imgur.
- Host: GitHub
- URL: https://github.com/llebout/imgur-enumerator
- Owner: llebout
- License: agpl-3.0
- Created: 2019-03-14T03:53:15.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-07-23T05:34:34.000Z (over 3 years ago)
- Last Synced: 2024-02-08T08:36:38.972Z (9 months ago)
- Language: Rust
- Homepage:
- Size: 347 KB
- Stars: 9
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-technostructure - llebout/imgur-enumerator - enumerator: Enumerates valid image links from imgur. ([✨ inspiration](https://github.com/stars/ketsapiwiq/lists/inspiration))
- awesome-technostructure - llebout/imgur-enumerator - enumerator: Enumerates valid image links from imgur. ([✨ inspiration](https://github.com/stars/ketsapiwiq/lists/inspiration))
README
# imgur-enumerator
Enumerates valid image links from imgur and can forward them to a Discord webhook, a Telegram channel and/or a file.
Thanks to Rust's asynchronous I/O with Tokio and the Hyper HTTP library,
imgur-enumerator has very high performance.With 800 concurrent requests, it consumed 7Mbps UP and 31Mbps DOWN checking ~7000 image links per second and finding ~490 valid images per minute.
# Demo
![Demo](demo.gif)
# Compiling
Install Rust with Cargo for your system.
You can use https://rustup.rs/ or install your system packages.```
cargo install --git https://github.com/leo-lb/imgur-enumerator
```# Usage
Example: `imgur-enumerator -c 50 -e imgur-links.txt`
```
imgur-enumerator 0.1USAGE:
imgur-enumerator [FLAGS] [OPTIONS]FLAGS:
-h, --help Prints help information
-s, --report-size Report the image size when exporting to a file
-V, --version Prints version informationOPTIONS:
-c, --concurrent Maximum amount of concurrent requests at a time [default: 4]
-e, --export Path to file where found links will be written
-k, --tg-channel Telegram Channel ID
-l, --tg-token Telegram Bot Token
-u, --user-agent Value of User-Agent header which will be used in all requests [default: Mozilla/5.0
(Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0]
-i, --id Discord Webhook ID
-t, --token Discord Webhook Token
```