# Daily Mail Scraper (`codingfrontend/daily-mail-scraper`) Actor

Read public Daily Mail RSS feeds, normalize current articles, and optionally collect public article-page metadata with explicit access diagnostics.

- **URL**: https://apify.com/codingfrontend/daily-mail-scraper.md
- **Developed by:** [Coding Frontned](https://apify.com/codingfrontend) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.99 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

### What this Actor does

The **Daily Mail Scraper** reads public RSS feeds from [Daily Mail](https://www.dailymail.co.uk/) and saves article details such as headlines, summaries, publication dates, and image links. You can optionally request each public article page for additional metadata and article text.

### Use cases

- Monitor articles published in selected Daily Mail RSS feeds.
- Collect article titles, URLs, summaries, dates, and RSS categories for a news tracker.
- Add publicly available bylines, article text, sections, keywords, and image captions when article detail fetching is enabled.

You can schedule recurring runs, call the Actor through the Apify API, connect it to Apify integrations, and monitor runs in the Apify Console.

The Actor reads only public feeds and pages. It does not sign in, bypass access controls, solve challenges, or access private data. Results depend on the fields each public source provides.

### Get started

1. Open the Actor's **Input** tab. Enter one or more RSS feed URLs, or keep the default Daily Mail articles feed.
2. Choose a maximum number of feeds and articles. Leave **Fetch article details** off for an RSS-only run, or turn it on to request public article pages too.
3. Select **Start**. When the run finishes, open **Results** for article records and **Output summary** for the saved-record count and run status.

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

### Input

All input fields are optional. If no feed URL is supplied, the Actor uses `https://www.dailymail.co.uk/articles.rss`. The main URL field is `feedUrls`; compatibility aliases are listed separately below.

#### Feed selection

| Field | Type | Required? | Default | What it does |
| --- | --- | --- | --- | --- |
| `feedUrls` | Array of text | Optional | Daily Mail articles feed when no URL field is supplied | RSS feeds to read. Enter up to 10 public URLs on Daily Mail domains. Duplicate URLs are removed. |

#### Result limits and article details

| Field | Type | Required? | Default | What it does |
| --- | --- | --- | --- | --- |
| `maxFeeds` | Integer | Optional | `3` | Maximum number of selected feeds to request; from `1` to `10`. |
| `maxArticles` | Integer | Optional | `10` | Maximum number of unique article records to save across all feeds; from `1` to `100`. |
| `includeArticleDetails` | Boolean | Optional | `false` | Also request each selected public article page for metadata, article text, sections, and gallery images when available. |

`maxFeeds` limits source feeds. `maxArticles` is one shared limit across those feeds. Articles with the same URL are saved once, even if feeds assign different RSS GUIDs. The Actor follows each selected feed's order and does not provide keyword filters, sorting, or page-number controls. It stops after reaching `maxArticles`; reaching that limit is a normal completion.

#### Advanced settings (Developer Options)

| Field | Type | Required? | Default | What it does |
| --- | --- | --- | --- | --- |
| `timeoutSecs` | Integer | Optional | `45` seconds | Maximum wait for each feed or article-page request, including redirects and downloading the response; from `5` to `120` seconds. |
| `maxResponseBytes` | Integer | Optional | `5,000,000` bytes | Maximum accepted size for each feed or article-page response; from `10,000` to `10,000,000` bytes. Oversized responses are skipped. |

#### Compatibility URL aliases

These older field names are still accepted. Use `feedUrls` for new inputs. A non-empty `feedUrls` value takes precedence; aliases are used only if it is empty or omitted. If aliases are used together, their values are combined, deduplicated, and limited by `maxFeeds`. The combined URL fields may contain at most 10 entries.

| Field | Type | Required? | Default | What it does |
| --- | --- | --- | --- | --- |
| `feedUrl` | Text | Optional | None | Alias for one RSS feed URL. |
| `urls` | Array of text | Optional | None | Alias for a list of RSS feed URLs, up to 10. |
| `url` | Text | Optional | None | Alias for one RSS feed URL. |

#### Copyable input examples

One feed and a small result limit:

```json
{
  "feedUrls": ["https://www.dailymail.co.uk/articles.rss"],
  "maxArticles": 5
}
```

Two feed URLs. If the same article appears in both feeds, it is saved once:

```json
{
  "feedUrls": [
    "https://www.dailymail.co.uk/articles.rss",
    "https://www.dailymail.co.uk/news/index.rss"
  ],
  "maxFeeds": 2,
  "maxArticles": 20
}
```

Request public article-page details:

```json
{
  "feedUrls": ["https://www.dailymail.co.uk/articles.rss"],
  "maxArticles": 10,
  "includeArticleDetails": true
}
```

Use a compatibility alias instead of `feedUrls`:

```json
{
  "feedUrl": "https://www.dailymail.co.uk/articles.rss",
  "maxArticles": 5,
  "includeArticleDetails": false
}
```

### Output

Each dataset row is one article. Required identity fields are `articleId`, `guid`, `url`, `canonicalUrl`, `title`, and `feedUrl`. Other fields are included only when supplied by the RSS item or public article page. The example below is **illustrative**; its values and URLs are invented and are not verified live results.

```json
{
  "articleId": "1234567",
  "guid": "https://www.dailymail.co.uk/news/article-1234567/example-story.html",
  "url": "https://www.dailymail.co.uk/news/article-1234567/example-story.html",
  "canonicalUrl": "https://www.dailymail.co.uk/news/article-1234567/example-story.html",
  "title": "Example headline about a public event",
  "description": "An illustrative summary of the article.",
  "author": "Example Reporter",
  "articleType": "NewsArticle",
  "category": "News",
  "categories": ["News", "UK"],
  "keywords": ["public event", "community"],
  "body": "The first public paragraph. The second public paragraph.",
  "sections": [
    {
      "heading": "What happened",
      "text": "The first public paragraph. The second public paragraph.",
      "paragraphs": ["The first public paragraph.", "The second public paragraph."]
    }
  ],
  "breadcrumbs": ["Home", "News"],
  "imageUrl": "https://i.dailymail.co.uk/example/hero-image.jpg",
  "heroImageUrl": "https://i.dailymail.co.uk/example/hero-image.jpg",
  "images": [
    {
      "url": "https://i.dailymail.co.uk/example/hero-image.jpg",
      "caption": "An illustrative caption.",
      "alt": "People at a public event",
      "credit": "Example News Desk",
      "width": 1200,
      "height": 800
    }
  ],
  "publishedAt": "2026-09-02T10:00:00.000Z",
  "updatedAt": "2026-09-02T12:00:00.000Z",
  "pageTitle": "Example headline about a public event | Daily Mail Online",
  "feedUrl": "https://www.dailymail.co.uk/articles.rss"
}
```

| Field | Type | Required? | Meaning |
| --- | --- | --- | --- |
| `articleId` | Text | Required | Article identifier parsed from the article URL. |
| `guid` | Text | Required | RSS item identifier, or the article URL when the feed has no separate GUID. |
| `url` | URL | Required | Public article link. |
| `canonicalUrl` | URL | Required | Canonical article link, or the article URL when details are not requested. |
| `title` | Text | Required | RSS headline. |
| `description` | Text | Optional | Short description from the feed or public page. |
| `author` | Text | Optional | Public byline. |
| `articleType` | Text | Optional | Article type from page metadata. |
| `category` | Text | Optional | Primary category from page metadata. |
| `categories` | Array of text | Optional | Categories from the RSS item. |
| `keywords` | Array of text | Optional | Keywords from public page metadata. |
| `body` | Text | Optional | Article text when details are requested and exposed. |
| `sections` | Array of objects | Optional | Article sections with `heading`, `text`, and `paragraphs`. |
| `breadcrumbs` | Array of text | Optional | Public page breadcrumb labels. |
| `imageUrl` | URL | Optional | Main image URL from the feed or page. |
| `heroImageUrl` | URL | Optional | Hero image URL from page metadata. |
| `images` | Array of objects | Optional | Images with `url`, `caption`, `alt`, `credit`, `width`, and `height`; only `url` is required inside each image. |
| `publishedAt` | Date-time | Optional | Publication time supplied by the feed or page. |
| `updatedAt` | Date-time | Optional | Update time supplied by the public page. |
| `pageTitle` | Text | Optional | HTML page title when details are requested. |
| `feedUrl` | URL | Required | RSS feed URL that supplied the article. |

Optional fields can be absent if the source does not provide them. Article detail fetching can add public-page fields, but results vary by article and access state. When a detail request fails or its metadata cannot form a valid article record, the Actor retains the valid RSS record and marks the run as having limited results. A repeated article URL is requested for details at most once per run, including when its first detail request fails.

### Run status

- **SUCCEEDED** means at least one real article record was saved and collection completed normally.
- **SUCCEEDED with limited results** means at least one real record was saved before a later feed, article-page, or dataset write failed. The run summary marks this with `isPartial: true`.
- **FAILED** means no real article records were saved, including when the source is empty or unavailable.

Blocked, empty, invalid, or otherwise unusable sources do not create placeholder rows. Failure details are available in the run log.

### Output summary

The separate **Output summary** link opens `OUTPUT_SUMMARY` in the run's default **Key-value store**. It contains only the final status, count of acknowledged article writes, and whether a failure limited a run with saved records. It is separate from the article dataset.

Example of a completed run:

```json
{
  "status": "SUCCEEDED",
  "itemsStored": 5,
  "isPartial": false
}
```

Example of a run with limited results:

```json
{
  "status": "SUCCEEDED",
  "itemsStored": 3,
  "isPartial": true
}
```

Example of a run with no saved articles:

```json
{
  "status": "FAILED",
  "itemsStored": 0,
  "isPartial": false
}
```

| Field | Type | Required? | Meaning |
| --- | --- | --- | --- |
| `status` | Text | Required | `SUCCEEDED` when one or more article writes completed; otherwise `FAILED`. |
| `itemsStored` | Nonnegative integer | Required | Number of real article records whose dataset writes completed during this run. |
| `isPartial` | Boolean | Required | `true` when a collection or write failure limited a run that saved records. |

### Access, cost, and support

Daily Mail may limit or block automated requests, including RSS feeds, and public pages may omit some fields. An HTTP 403 Access Denied response can prevent both RSS collection and article enrichment; changing result limits does not grant access. Daily Mail's published access terms require permission for automated scraping. Article detail requests are optional and add up to one request per unique selected article URL. Use `maxArticles`, `maxFeeds`, `timeoutSecs`, and `maxResponseBytes` to keep runs bounded. No fixed price is stated here; check the Actor's Store page and your run's compute usage for current Apify charges.

For feedback or help, use the Actor's **Issues** tab. Follow Daily Mail's terms and applicable privacy rules when using public content.

# Actor input Schema

## `feedUrls` (type: `array`):

Public Daily Mail RSS feeds to read. When no feed URL field is supplied, the Actor uses the Daily Mail articles feed.

## `feedUrl` (type: `string`):

Compatibility alias for one public Daily Mail RSS feed. Used when feedUrls is empty or omitted.

## `urls` (type: `array`):

Compatibility alias for a list of public Daily Mail RSS feeds. Used when feedUrls is empty or omitted.

## `url` (type: `string`):

Compatibility alias for one public Daily Mail RSS feed. Used when feedUrls is empty or omitted.

## `maxFeeds` (type: `integer`):

Maximum number of selected feeds to request.

## `maxArticles` (type: `integer`):

Maximum number of unique article records to save across all selected feeds.

## `includeArticleDetails` (type: `boolean`):

Request each selected article page for additional public metadata. RSS details remain available when a page request fails.

## `timeoutSecs` (type: `integer`):

Maximum time allowed for each feed or optional article-page request.

## `maxResponseBytes` (type: `integer`):

Maximum response size accepted for a feed or optional article page.

## Actor input object example

```json
{
  "feedUrls": [
    "https://www.dailymail.co.uk/articles.rss"
  ],
  "maxFeeds": 3,
  "maxArticles": 10,
  "includeArticleDetails": false,
  "timeoutSecs": 45,
  "maxResponseBytes": 5000000
}
```

# Actor output Schema

## `dataset` (type: `string`):

Dataset containing saved Daily Mail article records.

## `runSummary` (type: `string`):

The OUTPUT_SUMMARY record in the run's default key-value store.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "feedUrls": [
        "https://www.dailymail.co.uk/articles.rss"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("codingfrontend/daily-mail-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "feedUrls": ["https://www.dailymail.co.uk/articles.rss"] }

# Run the Actor and wait for it to finish
run = client.actor("codingfrontend/daily-mail-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "feedUrls": [
    "https://www.dailymail.co.uk/articles.rss"
  ]
}' |
apify call codingfrontend/daily-mail-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,codingfrontend/daily-mail-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/2k9ZUTQ700ALiS1Ab/builds/KUkULZIGbKOgl9CBo/openapi.json
