Skip to content

ret7020/PrntscrParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PrntScr Parser

Download random images from prntscr(imgur). The file name is generated randomly, then if there is such a file on the server, then it is saved to images_png folder. This script is multithreaded.

How to use

Use main.py to parse images from imgur

python3 main.py <NUMBER OF THREADS>

Then you can visualize random images from parsed using web ui.(make sure that script parsed at least 3 images, before run webui).
You have to install flask(check requirements.txt)

python3 webui.py

You can change some webui settings in config.py

IMAGES_PATH = "./images_png" # where images saved
FLASK_HOST = "0.0.0.0" # host to run server
FLASK_PORT = "8080" # port for server

Screenshot

image

About

Scrap prntscr to find random images

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published