get_article_images: Get article images

Description Usage Arguments Details Value Author(s) Examples

Description

Get the article images for a single url or a vector of urls.

Usage

1
get_article_images(url, timeout = 0, download = NULL)

Arguments

url

character. A single character string or character vector.

timeout

integer. Seconds to wait between queries.

download

character. Path to download folder. If path is set to NULL images are not downloaded.

Details

get_article_images is the function, which fetches and parses meta information for each image of an article and downloads the images. This function may break in the future due to layout changes on the ZEIT ONLINE website.

Value

A data frame including meta information for each image.

Author(s)

Jan Dix <jan.dix@uni-konstanz.de>

Examples

1
2
3
4
5
6
## Not run: 
url <- paste0("https://www.zeit.de/kultur/film/2018-04/",
"tatort-frankfurt-unter-kriegern-obduktionsbericht")
get_article_images(url = url, timeout = 0)

## End(Not run)

jandix/rzeit2 documentation built on Sept. 30, 2020, 3:19 p.m.