Actor picture

Getty Images Scraper

dtrungtin/gettyimages-scraper

It allows you to extract the image information. It also downloads the images and zip/save them under Apify key-value store.

Free trial for 14 days

Then $50/month

No credit card required now

Author's avatarTin Duong
  • Modified
  • Users14
  • Runs284
Actor picture
Getty Images Scraper

Free trial for 14 days

Then $50/month

Getty Images Scraper

Getty Images Scraper is an Apify actor for extracting/downloading the images from www.gettyimages.com. It allows you to extract the image information. It also downloads the images and zip/save them under Apify key-value store. It is build on top of Apify SDK and you can run it both on Apify platform and locally.

Input

Field Type Description Default value
startUrls array List of Request objects that will be crawled. The URL can be a search url https://www.gettyimages.com/search/ or https://www.gettyimages.com/photos/. [{ "url": "https://www.gettyimages.com/photos/war-in-ukraine?family=editorial&assettype=image&phrase=war%20in%20ukraine" }]
maxItems number Maximum number of images that will be scraped. 10
proxyConfiguration object Proxy settings of the run. If you have access to Apify proxy, leave the default settings. { "useApifyProxy": true }

Output

Output is stored in a dataset. Each item is an information about an image. Example:

{
  "src": "https://media.gettyimages.com/photos/ukrainian-police-officer-stands-in-front-of-a-damaged-residential-picture-id1372742387?s=612x612",
  "href": "https://www.gettyimages.com/detail/news-photo/ukrainian-police-officer-stands-in-front-of-a-damaged-news-photo/1372742387",
  "popularity": 1,
  "id": "1372742387",
  "apifyStorageUrl": "https://api.apify.com/v2/key-value-stores/YDRaDnrhENND1Cyuv/records/1372742387.jpg",
  "title": "Russia Starts Large-Scale Attack On Ukraine",
  "description": "KYIV, UKRAINE - FEBRUARY 25: A Ukrainian police officer stands in front of a damaged residential block hit by an early morning missile strike on February 25, 2022 in Kyiv, Ukraine. Yesterday, Russia began a large-scale attack on Ukraine, with Russian troops invading the country from the north, east and south, accompanied by air strikes and shelling. The Ukrainian president said that at least 137 Ukrainian soldiers were killed by the end of the first day. (Photo by Chris McGrath/Getty Images)",
  "source": "Getty Images Europe",
  "createdAt": "February 25, 2022",
  "location": null
}

Compute units consumption

Keep in mind that it is much more efficient to run one longer scrape (at least one minute) than more shorter ones because of the startup time.

The average consumption is 1 Compute unit for around 120 images scraped

Epilogue

Thank you for trying my actor. I will be very glad for a feedback that you can send to my email dtrungtin@gmail.com.

Industries

See how Getty Images Scraper is used in industries around the world