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)
Metadata
Release files for gids 1.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gids-1.2.2.tar.gz | 3.4 kB | Without provenance | Details for gids-1.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gids-1.2.2-py3-none-any.whl | Python 3 | none | any | Details for gids-1.2.2-py3-none-any.whl |
Total release size: 7.0 kB
Release files / gids-1.2.2.tar.gz
| Download URL | gids-1.2.2.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
48e38c8017b90e4d25351a7668e0e483c453fea20ece128b0922be7db475fbd8
|
|
BLAKE2b-256 checksum How to use checksums |
9fe9cc6c519405c4922b78d7ae31421d311534e710fed20d2715df0ef5cd0956
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / gids-1.2.2-py3-none-any.whl
| Download URL | gids-1.2.2-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e51a05466476fb12d38c0e687dce811ebef527f0e4ca1db312ae0d5ff78255ff
|
|
BLAKE2b-256 checksum How to use checksums |
d2b5eddb9b49bedcac94b77269ca623c1a39ef9624bc24b116242ec43271529c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for gids 1.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.