# Daily screenshots of new pages on a website

**Use case:** 

Get a full-page screenshot of new pages on a website every day. This example follows GitHub Blog posts: the first run captures up to 10 posts updated in the last 7 days, and each later run captures the recent posts the previous run did not see. Schedule the task daily in Apify. Each run's screenshots and HTML gallery are kept for your plan's data retention period, so download those you need.

## Input

```json
{
  "websites": [
    "https://github.blog/"
  ],
  "maxPages": 10,
  "devices": "desktop",
  "fullPage": true,
  "format": "jpeg",
  "quality": 80,
  "retina": false,
  "maxPageHeight": 15000,
  "hideCookieBanners": true,
  "blockAds": true,
  "reduceMotion": true,
  "darkMode": false,
  "sitemapUrlPatterns": [
    "github.blog/post-sitemap"
  ],
  "modifiedAfter": "7 days",
  "onlyNewPages": true,
  "monitoringName": "github-blog-daily-archive",
  "baselineOnFirstRun": false,
  "waitUntil": "load",
  "delaySecs": 1,
  "scrollPage": true,
  "skipErrorPages": true,
  "createGallery": true,
  "navigationTimeoutSecs": 45
}
```

## Output

```json
{
  "screenshotUrl": {
    "label": "Screenshot",
    "format": "string"
  },
  "url": {
    "label": "Page",
    "format": "string"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "device": {
    "label": "Device",
    "format": "string"
  },
  "imageWidth": {
    "label": "Width",
    "format": "integer"
  },
  "imageHeight": {
    "label": "Height",
    "format": "integer"
  },
  "statusCode": {
    "label": "HTTP",
    "format": "integer"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Website Screenshot Crawler Actor is ready to run with the inputs already set for "Daily screenshots of new pages on a website". [Sign up or log in](https://console.apify.com/create-task-from-example/EDnJCtwEByRgtil6h) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Daily screenshots of new pages on a website" task

The Website Screenshot Crawler Actor will start running based on the input automatically. You can also change all the input fields, like websites, max pages, and more, to match your specific use case.

### 3. Receive the "Daily screenshots of new pages on a website" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as screenshot, page, title, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Daily screenshots of new pages on a website" task via API](https://apify.com/urameshi7k/website-screenshot-crawler.md).

## FAQ

### What pages does this task capture in the screenshots?

Each run captures up to 10 pages with a sitemap date in the last 7 days, read only from the github.blog/post-sitemap files. After the first run, pages seen on the previous run are skipped; an edited older post can still count as new.

### What does the screenshot field represent?

The screenshot field contains a link to the full-size image of the captured page in the key-value store.

### Where are the screenshots saved?

Each run saves its new full-page screenshots and an HTML gallery of thumbnails in its own key-value store. Runs do not share one gallery, and Apify deletes run storage after your plan's data retention period, so download images you want to keep.

### What devices can the screenshots be taken on?

This example captures desktop only, on a 1440x900 screen. You can choose desktop, mobile, desktop and mobile, or all three (desktop, tablet and mobile); tablet comes only with all three. Each device is a separate, charged screenshot.

### Is there a limit on the number of pages captured?

This example captures up to 10 pages per run. Raise Max pages if the site publishes more between runs; new pages over the limit are captured on the next run.

### What information does the title field provide?

The title field provides the title of the webpage that was captured in the screenshot.

## About this Actor

This example demonstrates how to use [Website Screenshot Crawler](https://apify.com/urameshi7k/website-screenshot-crawler.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/urameshi7k/website-screenshot-crawler.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/urameshi7k/website-screenshot-crawler.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
