prnt.sc scraper written in rust
src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
default.nix | ||
flake.lock | ||
flake.nix | ||
License.md | ||
Readme.md | ||
shell.nix |
Vespucci
Vespucci is a scraper for screenshots from online platform prnt.sc written in Rust.
It is a rewrite of prntscrape.
How it works
It generates a random 4-7 character long string and then submits a request to prnt.sc
. Unless the image source is non-existent or equal to st.prntscr.com/2023/07/24/0635/img/0_173a7b_211be8ff.png
, the scraper treats it as a successful find. It then sends it to a Discord webhook.
How to use it
- Get a webhook. This is trivially easy, go to Server Settings > Integrations and from there you can generate a webhook.
- Get a binary. You can clone and compile this repository, or you can just do
cargo run
. Follow the next step before you run the project though! - Add your webhook to a file named
webhook.txt
that is in the project's folder. - Profit!
Running it on a server
The only supported way to run it is on Nix, however, you will probably be given support if you don't use it. It's also STRONGLY RECOMMENDED you run it using a residential IP address if possible to prevent being flagged (you can also use a residential proxy if that's more of your cup of tea).
Credits
- fzorb - I made this!
- port22exposed - NixOS tech support