Metadata-Version: 2.1
Name: gids
Version: 1.2.2
Summary: Google-images-downloader module using selenium
Home-page: https://github.com/jinkyuhan/gids
Author-email: gkswlsrb95@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3
Description-Content-Type: text/markdown
Requires-Dist: beautifulsoup4 (==4.9.0)
Requires-Dist: certifi (==2020.4.5.1)
Requires-Dist: chardet (==3.0.4)
Requires-Dist: idna (==2.9)
Requires-Dist: requests (==2.23.0)
Requires-Dist: selenium (==3.141.0)
Requires-Dist: soupsieve (==2.0)
Requires-Dist: urllib3 (==1.25.9)

# Google Images Download using Selenium

> 본 파이썬 모듈은 https://pypi.org/project/google_images_download/ 위 모듈이 구글 크롬의 업데이트로 사용 불가능해진 것에 대한 대안으로 Selenium을 이용한 크롤링 과정을 간편화한 모듈입니다.  

## Install

```bash
pip install gids
```

## Usage

```python
from gids import builder

config = {
    'driver_path': './chromedriver',
    'headless': True,
    'window-size': '720x480',
    'disable_gpu': False
}

first_item = {
    'keyword': 'Lion',
    'limit': 10, # The number of images
    'download_context': './data',
    'path': 'animal' # save in ./data/animal/img_01...10
}

second_item = {
    'keyword': 'Bamboo',
    'limit': 10, # The number of images
    'download_context': './data',
    'path': 'plant' # save in ./data/plant/img_01...10
}

items = [first_item, second_item]

downloader = builder.build(config)

downloader.download(items)
```


