https://github.com/greydevv/prntsc
Python web-scraper that downloads images from "print.sc".
https://github.com/greydevv/prntsc
python web-scraping
Last synced: 4 months ago
JSON representation
Python web-scraper that downloads images from "print.sc".
- Host: GitHub
- URL: https://github.com/greydevv/prntsc
- Owner: greydevv
- Created: 2020-11-02T13:53:45.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2022-03-22T13:28:06.000Z (almost 4 years ago)
- Last Synced: 2025-02-22T01:15:50.307Z (12 months ago)
- Topics: python, web-scraping
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# prntsc
`prntsc` is a Python web-scraper that downloads images from `prnt.sc`.
This script will generate a specified amount of URLs and download the screenshot from that URL. URLs are generated by concatenating two random letters and four random numbers to the base URL (`https://prnt.sc/`).
### Usage
This repository is no longer actively maintained. The most recent supported Python is `Python 3.8`.
From terminal, run `python3.8 main.py`, followed by the number of images to be generated.
To generate five images:
```
python main.py 5
```
### Example
If five URLs are to be generated:
```
https://prnt.sc/ci8242
https://prnt.sc/jg6886
https://prnt.sc/ky4487
https://prnt.sc/pc5572
https://prnt.sc/si9988
```
The image on each of these URLs will then be opened and saved.
### Disclaimer
Neither I nor this script are affiliated with `prnt.sc` in any way, shape, or form. With that being said, this script will not decide if an image is appropriate or not for some users. Keeping this in mind, ***viewer/user discretion advised***. I am **not** responsible for how this script is used.