Skip to content

GGGeorgiev20/prntsc-saver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prntsc-Saver

👀 About

This is a script written in Python, which allows you to save random images from the site https://prnt.sc/. All images from the script go into a folder named images. The process might be quite slow due to the excess amount of empty and excluded images.

❗ Warning

The images are obtained online from a site, which can be used by anyone and is not moderated. The content can be inappropriate and not safe for work. Use at your own risk!

⚙️ Properties

🚀 ID Generation

The method used for generating an id is simple. There's an array of all characters. It chooses 6 random characters from the array and searches for the image with that id. If it finds one and it isn't in the exclude folder, it saves it. Else it generates a new id and repeates. The average time for finding an image is around 4.2 seconds.

🔒 Exclude

All images in the exclude folder will be avoided from being selected. You can even add your own images!

✏️ Customization

You can edit all properties of the script in the properties.json file.

👨‍💻 Used technologies

python python

🕹️ How to use

To use the script make sure you have Python installed. If you don't, click on the python icon and once you are in the installer, make sure to tick the Add Python to PATH box. Once you've done that, just open the folder in cmd and type python main.py or if you want to, you can do the same in vscode.

About

A python script which allows you to save multiple images from prnt.sc

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages