Home

Awesome

<div align="center"> <img src="./docs/logo.png" width="600"/> </div> <br />

docs PyPI - Python Version PyPI license PyPI - Downloads PyPI - Downloads issue resolution open issues

Documents: https://imagedl.readthedocs.io/

Imagedl

Search and download images from specific websites.
You can star this repository to keep track of the project if it's helpful for you, thank you for your support.

Support List

Source_ENSource_CNSupport Search?Support Download?
baidu百度图片
bing必应图片
google谷歌图片

Install

Pip install

run "pip install pyimagedl"

Source code install

(1) Offline
Step1: git clone https://github.com/CharlesPikachu/imagedl.git
Step2: cd imagedl -> run "python setup.py install"
(2) Online
run "pip install git+https://github.com/CharlesPikachu/imagedl.git@master"

Quick Start

Run by leveraging the API

from imagedl import imagedl

config = {
    'savedir': 'outputs',
    'auto_set_proxies': True,
    'auto_set_headers': True,
    'search_limits': 1000,
    'num_threadings': 5,
}
client = imagedl.imagedl(config=config)
client.run('baidu')

Run by leveraging compiled file

Usage: imagedl [OPTIONS]

Options:
  --version                  Show the version and exit.
  -k, --keyword TEXT         想要搜索下载的图片关键字, 若不指定, 则进入imagedl终端版
  -s, --savedir TEXT         下载的图片的保存路径
  -t, --target TEXT          指定图片搜索下载的平台, 例如"baidu"
  -l, --limits INTEGER       下载的图片数量
  -n, --nthreadings INTEGER  使用的线程数量
  --help                     Show this message and exit.

Screenshot

img

Projects in Charles_pikachu

More

WeChat Official Accounts

Charles_pikachu
img