This is a multithreaded tool for downloading search results of Baidu image search.
- Python 3.x
$ python crawler.py KEYWORD DEST_FOLDER NUM_OF_IMAGES NUM_OF_THREADS
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: