Downloads raw page from google images and searches for images that can be downloaded
Project description
Google image downloader
Python script that lets you search for urls of images from google images using your tags and/or download them automatically onto you computer
Documentation
-
Installation
- Download simple-image-download.py from my github and use it in your project
- Use command pip install simple_image_download
-
Methods
In my script simple_image_dowload is a class so the correct way to use it in you project would be to import simple_image_download from simple_image_download like this from simple_image_download import simple_image_download as simp and then create new variable for example response = simp.simple_image_download.
Next you can use response to activate methods:
-
response().download(keywords, limit, extensions={'.jpg', '.png', '.ico', '.gif', '.jpeg'}) -> downloads images to new directory
- keywords - for instance -> 'bear, Mario'
- limit - for instance -> 5
-
response().urls(keywords, limit, extensions={'.jpg', '.png', '.ico', '.gif', '.jpeg'}) -> returns urls of google images
- keywords - for instance -> 'bear'
- limit - for instance -> 5
-
-
Example
Example are on my github in sub-respository named example
End
If you have any ideas, try pull request or write to me so i will try to add new things in free time. I know my code is pretty basic but i just started working with python and i needed that class for urls and images to pass my semester so i did only what i needed.
I hope that we will make this class more usefull together, i will try to post updates with yours and mine ideas
Ps. Thx to CharlesMogan for adding so many fixes and new features.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for simple_image_download-0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7beccee400db24ec6a15a3a12c57e465d2fff6d680c40f65ece120649df8e5d |
|
MD5 | c613070f7768509901f2615f286d229d |
|
BLAKE2b-256 | d1f3b2c548d928bdd41beaf9c5b2d8b9b253f20e271022e00ae243a1d7896bcc |