Skip to main content

Google-images-downloader module using selenium

Project description

Google Images Download using Selenium

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

Install

pip install gids

Usage

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)

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

gids-1.2.2.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

gids-1.2.2-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file gids-1.2.2.tar.gz.

File metadata

  • Download URL: gids-1.2.2.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for gids-1.2.2.tar.gz
Algorithm Hash digest
SHA256 48e38c8017b90e4d25351a7668e0e483c453fea20ece128b0922be7db475fbd8
MD5 589c44562d4e774b88778ddbd43517d0
BLAKE2b-256 9fe9cc6c519405c4922b78d7ae31421d311534e710fed20d2715df0ef5cd0956

See more details on using hashes here.

File details

Details for the file gids-1.2.2-py3-none-any.whl.

File metadata

  • Download URL: gids-1.2.2-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for gids-1.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e51a05466476fb12d38c0e687dce811ebef527f0e4ca1db312ae0d5ff78255ff
MD5 bfd757c6c84351e64af3b94c090dc5af
BLAKE2b-256 d2b5eddb9b49bedcac94b77269ca623c1a39ef9624bc24b116242ec43271529c

See more details on using hashes here.

Supported by

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