Img-Crawler
is a GUI application that downloads bulks of images from imgpile.com.
It uses a Custom API i created in python that scraps an album'surl
and returns every image's details asjson
data.
- Download the images in bulk.
- Modern & User Friendly UI.
- Easy to use.
- Scrape today, Download Tommorow Functionality.
- Download in Multiple Formats.
- Original Quality Preserved.
- And more under-the-hood stuff
NOTE: Executable file is on it's way! and then you won't need to do the steps below!
- Install Python 3.x
- Download or clone this repository on your local machine.
- Extract the
zip
file.- Open terminal in this folder and run
pip install -r requirements.txt
- Run
main.py
either from terminal or just by double-clicking it.
Go to imgpile.com & search for an album.
In this demo, I will search for "Ford Mustang". (WARNING: Results may include inappropriate content)
Now, Copy the url of this album (make sure you are on the first page of this album because the imgpile-scrapper-api starts the scrape from the page you copied the url from). in our case, there's only one page.
Open the
ImgCrawler
application and paste the url in Target URL field.![]()
Click Scrape button and let the app do it's thing! (You can now do other things while this app scrapes the images. It'll let you know when the scrape is finished!)
Once scraping is finished, You'll see the images and their properties.
![]()
Click Download button at the bottom-right, a Dialog box will appear asking for some things.
![]()
Choose the type of data you want to download (
image
,json
orcsv
).Choose the quality of images (if
image
selected)OR Type in the filename (without extension) for a json or csv file (if
json
orcsv
selected)Choose a directory by clicking the button with folder icon.
Click Download and let the downloading happen! (Do your thing again! and when the downloading is complete, You'll get notified.)
Cool Trick: This
Demo.json
file can now be loaded in the app! allowing you to download the scraped images whenever you want!
- Once you have the json data, you can close the application!
- Open the application again.
- Press
CTRL+SHIFT+L
and select & open the json file when dialog appears.![]()
The file will be loaded in the application and the imnages will start to appear as they load!
This loading will be faster than the actual scraping!
assets
main.py
frontend.py
backend.py
imgpile.py
CustomTkinter
CTkTooltip
Pandas
BeautifulSoup
Requests
Pillow
SoupSieve
Json
Tkinter
Threading
IO
Time
OS