Skip to main content

a python library for automatically downloading requested number of images from Google image search by one keyword

Project description

=====
_Developer: Zhiao Zhou ([@zhiaozhou](https://github.com/zhiaozhou) | <zz1749@nyu.edu> | [Linkedin](https://www.linkedin.com/in/zhiaozhou/))_

Infinite_image-downloader is a python library for automatically downloading requested number of images from Google image search by one keyword.

The principle is that since Google has limited the number of outputs per keyword(1000 maximum), after getting numbers of pictures and their urls of the first search, the downloader is going to search more images using the urls that were just achieved and then recursively go on.

Dependencies
=============
pgmpy has following non optional dependencies:
- Python 2.7 or Python 3
- request
- selenium
- socket
- Geckodriver for Firefox users

Installation
=============
Using pip:
```
$ pip install infinite_image_downloader
```

Or for installing the latest codebase:
```
$ git clone https://github.com/zhiaozhou/infinite_image_downloader.git
$ cd infinite_image_downloader/
$ python setup.py install
```

Documentation and usage
=======================

Now this package can be only used with a Firefox browser installed.

Then you will have to install Geckodriver from [Geckodriver/releases](https://github.com/mozilla/geckodriver/releases) and then put the executable file inside the root folder of your Firefox directory (Ex. C:\Program Files\Mozilla Firefox\)

For Mac users, put it under usr/local/bin

Then after installing the package using pip
you can start to use it by typing infinite_image_downloader [keyword] [numbers of images you want] [download path](optional)

An example is shown below

![example](example.gif)

License
=======
infinite_image_downloader is released under MIT License.
Keywords: google image crawl download
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Education
Classifier: Topic :: Utilities
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Operating System :: Unix
Classifier: Operating System :: POSIX
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: MacOS

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

infinite_image_downloader-1.0.0.tar.gz (3.9 kB view details)

Uploaded Source

File details

Details for the file infinite_image_downloader-1.0.0.tar.gz.

File metadata

File hashes

Hashes for infinite_image_downloader-1.0.0.tar.gz
Algorithm Hash digest
SHA256 96ed4ac38549ddc71df99be88da0b7eec1c11c335992347eb88545f8a25a6d22
MD5 470579d833b581e8539c78a6326be489
BLAKE2b-256 c8940b798341f24db8d087a9542fa24b20477c2fe6e98f51cbe890f63a9c5756

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page