Answers for "Using built-in crawlers is very simple. A minimal example is shown as follows."

0

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)
Posted by: Guest on April-18-2021

Python Answers by Framework

Browse Popular Code Answers by Language