Getty Images Scraper avatar
Getty Images Scraper
Try for free

3 days trial then $50.00/month - No credit card required now

View all Actors
Getty Images Scraper

Getty Images Scraper

dtrungtin/gettyimages-scraper
Try for free

3 days trial then $50.00/month - No credit card required now

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

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

FieldTypeDescriptionDefault value
startUrlsarrayList 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" }]
maxItemsnumberMaximum number of images that will be scraped.10
proxyConfigurationobjectProxy 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:

1{
2  "src": "https://media.gettyimages.com/photos/ukrainian-police-officer-stands-in-front-of-a-damaged-residential-picture-id1372742387?s=612x612",
3  "href": "https://www.gettyimages.com/detail/news-photo/ukrainian-police-officer-stands-in-front-of-a-damaged-news-photo/1372742387",
4  "popularity": 1,
5  "id": "1372742387",
6  "apifyStorageUrl": "https://api.apify.com/v2/key-value-stores/YDRaDnrhENND1Cyuv/records/1372742387.jpg",
7  "title": "Russia Starts Large-Scale Attack On Ukraine",
8  "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)",
9  "source": "Getty Images Europe",
10  "createdAt": "February 25, 2022",
11  "location": null
12}

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.

Developer
Maintained by Community
Actor metrics
  • 4 monthly users
  • 100.0% runs succeeded
  • Created in Mar 2022
  • Modified 3 months ago