factbook
Version:
Serves as an independent data scraping module, complete with ontology and full scraping ability for the CIA World Factbook site
15 lines (14 loc) • 499 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var globalStore_1 = require("../constants/globalStore");
var download_image_1 = require("./download-image");
function downloadImages() {
var imagePromises = [];
var images = globalStore_1.store.IMAGES_TO_SCRAPE.slice();
images.forEach(function (img) {
imagePromises.push(download_image_1.downloadImage(img));
});
return imagePromises;
}
exports.downloadImages = downloadImages;
;