download_adv_images_as_jpg: Download adv images as jpg

Description Usage Arguments Details Value

Description

download_adv_images_as_jpg downloads images used in an advertisement and stores them in a jpg format in the specified directory.

Usage

1
download_adv_images_as_jpg(images, storage_dir, prefix)

Arguments

images

Vector of strings corresponding to urls.

storage_dir

String indicating the storage location for the downloaded images.

prefix

String indicating the prefix to be used when storing the images.

Details

The function uses a vector of urls corresponding to images used in an advertisement, to loop over each url to download the image and store it in the specified directory.

Value

No return.


timvink/mpscraper documentation built on May 31, 2019, 2:43 p.m.