A Python utility to fetch images from a webpage, preview them in a GUI, and export them as a single PDF.
This project is a lightweight Image-to-PDF scraper that lets you paste a webpage URL, automatically fetch all images, preview them inside the app, and save them either individually or combined into a single PDF.
It’s designed for students and professionals who want to download notes, diagrams, or slides quickly and organize them neatly.
https://github.com/KCoder-programming/html-img-scraper/releases
- 🔗 Fetch all images from a web page.
- 🖼️ Preview downloaded images inside the GUI.
- 📂 Save images locally.
- 📑 Export all images into a single PDF.
- 🎨 Clean and modern UI (using ttkbootstrap).
-
Clone the repository or download the source code.
git clone https://github.com/KCoder-programming/html-img-scraper.git cd html-img-scraper -
Install dependencies:
pip install -r requirements.txt
python download_images.py- beautifulsoup4
- requests
- Pillow
- tqdm
- ttkbootstrap
- python 3.x
(given in requirements.txt)
-
Enter the URL of a page containing images.
-
Click Fetch Images → the images will be listed and previewed.
-
Select images you want to save/export.
-
Choose Export as PDF to create a clean PDF document.
Copyright (c) 2025 KCoder-programming