remoteImages

Returns an array of RemoteImage objects found on the specified web page.

It fetches the given URL, parses is as HTML, and creates a RemoteImage for each <img> tag found on the page.

Syntax

remoteImages(url)

Parameters

Return value

An array of RemoteImage objects.

Throws a TypeError exception if the URL is invalid. Throws an Error exception if the page cannot be fetched or parsed.

Examples

remoteImages("https://codingrobots.com")