Made By Daniel Enesi.
Python Web Image Extractor
This Python project extracts images from a website url
- It can access many image formats including SVG.
- It works using only Python Standard Library modules.
Usage
- Through the Tkinter UI
- Run
python main.py - A tkinter window should pop up providing a textbox.
- Enter the URL into the textbox and click "Get Images"
- When it is done, click the download button to download the images
- Select the folder you want to store the images
- Wait for the images from the website or html file path to download
- When the images download, the folder is automatically opened for you to view the images.
- Via the command line
- Run
python main.py <url> --fp <destination_path> --isfile - Prints the image sources to console
<url>: The link to html webpage-
- If
--isfileis specified,<url>maps to a file in the runner's system
- If
<destination_path>is the path to store the images-
- If it is omitted, the images will not be stored
- Using imports
- Install by running
python -m pip install web-image-extractor - Use
from image_extractor import download_images, extract_images extract_imageswill get image sources from a webpagedownload_imageswill attempt to fetch the contents of the files and save them to your filesystemextract_and_downloadextracts images and downloads them to your file system. It takes a url and a destination folder
Notes
- To avoid overwriting files already present in your file system, choose an empty folder while using
--isfileand--fpare undergoing testing and development- The application might not work for some websites
- The tkinter interface might appear unresponsive sometimes, but it's probably just in an loop
- That said, I'll work to make it asynchronous so the UI doesn't freeze
- Would it be nice if I have an executable in this repo? So people don't need to code to use this.
Create a detailed issue to report a bug (I am aware of some), suggest a feature, or propose an improvement.
Enjoy using this!
Metadata
Release files for web-image-extractor 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| web_image_extractor-0.2.2.tar.gz | 9.4 kB | Without provenance | Details for web_image_extractor-0.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| web_image_extractor-0.2.2-py3-none-any.whl | Python 3 | none | any | Details for web_image_extractor-0.2.2-py3-none-any.whl |
Total release size: 19.5 kB
Release files / web_image_extractor-0.2.2.tar.gz
| Download URL | web_image_extractor-0.2.2.tar.gz |
|---|---|
| Size | 9.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
237cae5193c96368b69757ce5c49e150f051612021af21ab12daff789a7c537f
|
|
BLAKE2b-256 checksum How to use checksums |
cc6eb76d01536f7e08c7eed1aca0a75e7fecd48717ff1f3a8274933f50ec5316
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / web_image_extractor-0.2.2-py3-none-any.whl
| Download URL | web_image_extractor-0.2.2-py3-none-any.whl |
|---|---|
| Size | 10.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a7906f226563fa3f6a5a9cc46df6bd9120b71a4f1f42864fb4ba192313414cac
|
|
BLAKE2b-256 checksum How to use checksums |
35780182ec254b843815a5c4aaf6abd10f04eafc4788ca31ddaacf65ff5548de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Security for web-image-extractor 0.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.