Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self,
feeder_cls=GoogleFeeder,
parser_cls=GoogleParser,
downloader_cls=ImageDownloader,
*args,
**kwargs):
super(GoogleImageCrawler, self).__init__(
feeder_cls, parser_cls, downloader_cls, *args, **kwargs)
'If you really want to get more than 1000 results, you '
'can specify different date ranges.', 1000 - offset)
feeder_kwargs = dict(
keyword=keyword,
offset=offset,
max_num=max_num,
language=language,
filters=filters)
downloader_kwargs = dict(
max_num=max_num,
min_size=min_size,
max_size=max_size,
file_idx_offset=file_idx_offset,
overwrite=overwrite)
super(GoogleImageCrawler, self).crawl(
feeder_kwargs=feeder_kwargs, downloader_kwargs=downloader_kwargs)