scrape_adv_images: Scrape adv images

Description Usage Arguments Details Value Examples

Description

scrape_adv_images downloads and stores all images used in the advertisement indicated in the specified url.

Usage

1
scrape_adv_images(ad_id, storage_dir = "")

Arguments

ad_id

String containing the url to an advertisement.

storage_dir

String indicating the storage location for the downloaded images.

Details

The function uses a string containing the url to an advertisement to download and store all images linked to that advertisement.

Value

No return.

Examples

1
2
3
4
## Not run: 
scrape_adv_images(ad_id = "m1016608065", storage_dir = "C:/")

## End(Not run)

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