Open tienthegainz opened 5 years ago
Set storage parameter in GoogleImageCrawler like this: storage={''root_idr': 'your_dir'} Hope this help!
Set storage parameter in GoogleImageCrawler like this: storage={''root_idr': 'your_dir'} Hope this help!
You may not understand the problem I have. google_crawler.set_storage({''root_idr': 'your_new_dir'}) didn't work for me. How do you change the parameter?
Does "didn't work for me" mean this code dose not create a directory for storing your images? Instead it create the "images" directory for storing images.
I was try to change the
root_dir
by the following:google_crawler = GoogleImageCrawler( feeder_threads=1, parser_threads=1, downloader_threads=4, storage=storage)
google_crawler.set_storage(new_storage)
But it doesn't seem to work. Did I do it the wrong way?