Coder Social home page Coder Social logo

prntsc-saver's Introduction

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.

prntsc-saver's People

Contributors

gggeorgiev20 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.