VOOZH about

URL: https://apify.com/hichamrz/screenshot-generator

⇱ Instant Website Screenshot API Β· Apify


Pricing

$3.00 / 1,000 results

Go to Apify Store

Instant Website Screenshot API

Generate high-quality, full-page screenshots of any website URL. Returns a hosted image link. Perfect for monitoring, archiving, and visual testing.

Pricing

$3.00 / 1,000 results

Rating

0.0

(0)

Developer

πŸ‘ Hicham Errazougui

Hicham Errazougui

Maintained by Community

Actor stats

0

Bookmarked

25

Total users

2

Monthly active users

4 months ago

Last modified

Share

JavaScript PuppeteerCrawler Actor template

This template is a production ready boilerplate for developing with PuppeteerCrawler. The PuppeteerCrawler provides a simple framework for parallel crawling of web pages using headless Chrome with Puppeteer. Since PuppeteerCrawler uses headless Chrome to download web pages and extract data, it is useful for crawling of websites that require to execute JavaScript.

If you're looking for examples or want to learn more visit:

Included features

  • Puppeteer Crawler - simple framework for parallel crawling of web pages using headless Chrome with Puppeteer
  • Configurable Proxy - tool for working around IP blocking
  • Input schema - define and easily validate a schema for your Actor's input
  • Dataset - store structured data where each object stored has the same attributes
  • Apify SDK - toolkit for building Actors

How it works

  1. Actor.getInput() gets the input from INPUT.json where the start urls are defined

  2. Create a configuration for proxy servers to be used during the crawling with Actor.createProxyConfiguration() to work around IP blocking. Use Apify Proxy or your own Proxy URLs provided and rotated according to the configuration. You can read more about proxy configuration here.

  3. Create an instance of Crawlee's Puppeteer Crawler with new PuppeteerCrawler(). You can pass options to the crawler constructor as:

    • proxyConfiguration - provide the proxy configuration to the crawler
    • requestHandler - handle each request with custom router defined in the routes.js file.
  4. Handle requests with the custom router from routes.js file. Read more about custom routing for the Cheerio Crawler here

    • Create a new router instance with new createPuppeteerRouter()

    • Define default handler that will be called for all URLs that are not handled by other handlers by adding router.addDefaultHandler(() => { ... })

    • Define additional handlers - here you can add your own handling of the page

      router.addHandler('detail',async({ request, page, log })=>{
      const title =await page.title();
      // You can add your own page handling here
      await Dataset.pushData({
      url: request.loadedUrl,
      title,
      });
      });
  5. crawler.run(startUrls); start the crawler and wait for its finish

Resources

If you're looking for examples or want to learn more visit:

Getting started

For complete information see this article. In short, you will:

  1. Build the Actor
  2. Run the Actor

Pull the Actor for local development

If you would like to develop locally, you can pull the existing Actor from Apify console using Apify CLI:

  1. Install apify-cli

    Using Homebrew

    $brew install apify-cli

    Using NPM

    $npm-ginstall apify-cli
  2. Pull the Actor by its unique <ActorId>, which is one of the following:

    • unique name of the Actor to pull (e.g. "apify/hello-world")
    • or ID of the Actor to pull (e.g. "E2jjCZBezvAZnX8Rb")

    You can find both by clicking on the Actor title at the top of the page, which will open a modal containing both Actor unique name and Actor ID.

    This command will copy the Actor into the current directory on your local machine.

    $apify pull <ActorId>

Documentation reference

To learn more about Apify and Actors, take a look at the following resources:

You might also like

Website Screenshot API - Page Screenshot Generator

code-node-tools/website-screenshot-api

Website screenshot API to capture any webpage as an image. This screenshot API supports full page, viewport, and element screenshots. Website screenshot generator API for automated website screenshot capture, visual testing, monitoring, and thumbnail generation. Reliable page screenshot API.

7

Web Screenshot Api

simplifysme/web-screenshot-api

πŸ“Έ Capture high-quality screenshots of any web page and get them as downloadable images. Perfect for website monitoring, visual regression testing, and UI snapshots.

πŸ‘ User avatar

SimplifySME Toolbox

9

Website Screenshot Pro

onescales/website-screenshot-pro

Capture high-quality, full page screenshots of any website across multiple device sizes in one go. Perfect for responsive design testing, presentations, documentation, or archiving web pages. Supports viewport, full page scrolling. Export to json, csv (excel or google sheets) and api and automation.

113

5.0

Screenshot: Website Image and Video Capture

yeyo/screenshot

Capture high-quality screenshots and videos of any website. Perfect for design verification, content creation, and website snapshots. Compatible across diverse device resolutions. Instant results.

Website Screenshot Generator

parseforge/screenshot-url

Capture pixel-perfect website screenshots in seconds! Generate full-page or viewport PNG and JPEG shots of any URL with custom viewport sizes, wait times, and device modes. Includes page title, description, OG image, and metadata. Perfect for audits, monitoring, and visual QA. Start capturing today!

Screenshot

dz_omar/screenshot

πŸ“Έ Capture high-quality screenshots of any website with full-page support, custom viewports, and cookie authentication. Perfect for web monitoring, documentation, competitor analysis, and automated testing. Features smart loading detection and 30-second interval pricing for cost efficiency.

πŸ‘ User avatar

FlowExtract API

236

5.0

Website Screenshot Generator

akash9078/website-screenshot-generator

Generate a screenshot of any website by entering its URL. The image is stored in a key-value store, making it ideal for tracking visual changes on webpagesβ€”especially when run on a scheduled basis.

πŸ‘ User avatar

Akash Kumar Naik

76

Related articles

How to take screenshots and generate PDFs with Puppeteer
Read more