Closed elliotchencv closed 6 years ago
The certification validation problem is caused by requests
. See stackoverflow for more info.
Here is a walkaround.
from icrawler.builtin import GoogleImageCrawler
google_crawler = GoogleImageCrawler(parser_threads=2, downloader_threads=4,
storage={'root_dir': 'dog'})
google_crawler.session.verify = False
google_crawler.crawl(keyword='dog', max_num=1000,
date_min=None, date_max=None,
min_size=(10,10), max_size=None)
Hi @hellock , your solution works. Thank you so much!
Hi icrawler developers, I've tried BingImageCrawler and GoogleImageCrawler. BingImageCrawler worked, however, The fowllowing sample code of GoogleImageCrawler didn't work. Can anyone help?
All I received was