Awesome
<div align="center"> <img src="./docs/logo.png" width="600"/> </div> <br />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_EN | Source_CN | Support Search? | Support Download? |
---|---|---|---|
baidu | 百度图片 | ✓ | ✓ |
bing | 必应图片 | ✓ | ✓ |
谷歌图片 | ✓ | ✓ |
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
Projects in Charles_pikachu
- Games: Create interesting games by pure python.
- DecryptLogin: APIs for loginning some websites by using requests.
- Musicdl: A lightweight music downloader written by pure python.
- Videodl: A lightweight video downloader written by pure python.
- Pytools: Some useful tools written by pure python.
- PikachuWeChat: Play WeChat with itchat-uos.
- Pydrawing: Beautify your image or video.
- ImageCompressor: Image compressors written by pure python.
- FreeProxy: Collecting free proxies from internet.
- Paperdl: Search and download paper from specific websites.
- Sciogovterminal: Browse "The State Council Information Office of the People's Republic of China" in the terminal.
- CodeFree: Make no code a reality.
- DeepLearningToys: Some deep learning toys implemented in pytorch.
- DataAnalysis: Some data analysis projects in charles_pikachu.
- Imagedl: Search and download images from specific websites.
- Pytoydl: A toy deep learning framework built upon numpy.
- NovelDL: Search and download novels from some specific websites.
More
WeChat Official Accounts
Charles_pikachu