Scrapes and download images from http://ecosia.org with list of search queries stored in .csv file and then groups them automatically into there appropriate folders. Created the scrapper while I was collaborating with @Emmarex on Vegetables recognition and classification Model to make a dataset to use to train the AI.
Clone this repository and the install the dependencies.
$ git clone https://github.com/ahkohd/ecosia.org-image-scrapper.git
$ cd ecosia.org-image-scrapper
$ npm install
Then run, in the project folder run the following command
// $ node scrap [pathToTheCSVFile] [numberOfPicturesPerQuery]
// for example
$ node scrap ./veg.csv 5
An that's it :-)
[pathToTheCSVFile]
The path to the csv file that contains queries to scrape from ecosia.orgdefault: ./veg.csv
[numberOfPicturesPerQuery]
Number of pictures to scrape per querydefault: 4