Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 620 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 620 Bytes

BaiduImageCrawler

This is a multithreaded tool for downloading search results of Baidu image search.

Dependencies

  • Python 3.x

Usage

$ python crawler.py KEYWORD DEST_FOLDER NUM_OF_IMAGES NUM_OF_THREADS

Example

Below is an example of how to use the crawler to download the first 40 image search results of dog with 8 threads and save them to E:\dog.

$ python crawler.py 狗 E:\dog 40 8

Look at what we got here:

GitHub