Using built-in crawlers is very simple. A minimal example is shown as follows.
Example: Using built-in crawlers is very simple. A minimal example is shown as follows.
from icrawler.builtin import GoogleImageCrawler
google_crawler = GoogleImageCrawler(storage={'root_dir': 'your_image_dir'})
google_crawler.crawl(keyword='cat', max_num=100)