# Le Monde Rss Scraper (`coder_zoro/le-monde-rss-scraper`) Actor

This Actor collects French and international news articles and feed metadata directly from official Le Monde (lemonde.fr) RSS feeds based on news sections, topic feeds, or custom feed URLs. It extracts article headlines, summaries, publication dates, categories, media thumbnails, and article URLs

- **URL**: https://apify.com/coder_zoro/le-monde-rss-scraper.md
- **Developed by:** [Zoro](https://apify.com/coder_zoro) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## Le Monde RSS Scraper

![Le Monde RSS Scraper cover](https://images.bigibyte.com/cdn-cgi/image/width=1260,height=540,fit=cover,format=webp/apify-actors-covers/le-monde-rss-scraper-cover.png)

Collect French news headlines and article metadata from Le Monde's public RSS feeds. Choose the main feed or a section feed, filter articles by keywords or publication age, and export structured results in JSON, CSV, or Excel.

No login or credential is required.

### Features

- **Public RSS feeds:** Collect news from Le Monde's main feed or section feeds
- **Custom feed URLs:** Provide other public Le Monde RSS feeds in the supported format
- **Keyword filtering:** Keep articles matching your selected keywords
- **Publication age filtering:** Exclude articles older than a specified number of hours
- **Collection limits:** Control the maximum number of collected items
- **Structured output:** Store article titles, descriptions, publication dates, links, GUIDs, and available media URLs
- **Scheduled collection:** Run the actor regularly to build a news archive over time

### Collection Modes

| Mode | Description |
|---|---|
| `feed` | Collect articles from the Le Monde main news feed |
| `section_feed` | Collect articles from a section feed, such as International |

Default feeds:

- Main feed: `https://www.lemonde.fr/rss/une.xml`
- International feed: `https://www.lemonde.fr/international/rss_full.xml`

You can override the mode's default feed using `feedUrls`.

### Input Parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `mode` | string | `feed` | Collection mode: `feed` or `section_feed` |
| `feedUrls` | array | Empty (uses mode default) | Optional RSS feed URLs to collect instead of the default feed |
| `keywords` | array | `[]` | Keep items whose title or description contains at least one keyword |
| `sinceHours` | integer | None | Exclude items older than the specified number of hours |
| `maxItems` | integer | `100` | Maximum number of successful records to collect per run (hard maximum: 1000) |
| `userAgent` | string | `ActorResearch/1.0` | User-Agent value |
| `requestDelayMs` | integer | `500` | Delay between requests in milliseconds |
| `timeoutSecs` | integer | `300` | Overall run time budget in seconds |
| `requestTimeoutSecs` | integer | `30` | Timeout for an individual request in seconds |

### Example Input

**Main feed**

```json
{
  "mode": "feed",
  "maxItems": 50,
  "requestDelayMs": 500
}
```

**International news filtered by keyword**

```json
{
  "mode": "section_feed",
  "keywords": ["Roumanie"],
  "maxItems": 20
}
```

### What Data Does This Actor Extract?

Each dataset record represents an RSS news item.

| Field | Type | Description |
|---|---|---|
| `itemTitle` | string | Article title as published in the feed |
| `pubDate` | string | Publication date from the RSS feed |
| `itemDescription` | string | Article description or summary |
| `guid` | string | RSS item GUID |
| `link` | string | Article URL on Le Monde |
| `content` | string | Media image URL when available |
| `scraped_at` | string | Timestamp when the record was collected |

### Example Output

```json
{
  "itemTitle": "Présidentielle 2027 : Raphaël Glucksmann, vainqueur de la primaire à gauche…",
  "pubDate": "Mon, 12 Oct 2026 05:33:09 +0200",
  "itemDescription": "Le coprésident de Place publique, qui l’a emporté dès le premier tour dimanche…",
  "guid": "https://www.lemonde.fr/election-presidentielle-2027/article/2026/10/12/…",
  "link": "https://www.lemonde.fr/election-presidentielle-2027/article/2026/10/12/…",
  "content": "https://img.lemde.fr/2026/10/11/555/0/4072/2036/644/322/60/0/2de6177_….JPG",
  "scraped_at": "2026-10-26T00:00:00+00:00"
}
```

The `content` field is included when the feed provides a media image URL.

### Use Cases

- **News monitoring:** Track the latest French news headlines for regular reporting.
- **Research archives:** Build a collection of main-feed or international news items over time.
- **Keyword monitoring:** Follow topics of interest using `keywords` and `sinceHours`.
- **Editorial research:** Review article titles and summaries before opening the full articles.
- **Data pipelines:** Export structured news records for further analysis and processing.

### Working with Your Dataset

After the actor finishes:

1. Open the run's dataset in Apify Console.
2. Review the collected news records.
3. Export the results in JSON, CSV, Excel, or another supported dataset format.
4. Use the article `link` field to visit the original publication.

### FAQ

**Do I need an account or credential to collect articles?**

No login or credential is required. The actor reads public RSS feeds.

**How fresh is the collected data?**

Results reflect the articles currently available in the selected RSS feed. A single run collects the feed's available items; scheduling regular runs can help build a longer-term archive.

**Can I collect articles beyond the main feed?**

Yes. Select `section_feed` for the International feed or provide another supported public Le Monde RSS URL through `feedUrls`.

**Can I filter articles by topic?**

Yes. Add terms to `keywords`. An item is kept when its title or description contains at least one keyword.

**Can I collect more than 100 articles?**

Yes. Increase `maxItems` up to the maximum of 1000. The number of records available also depends on the selected feed.

### Disclaimer

This is an independent data collection tool and is not affiliated with or endorsed by Le Monde. It collects information made available through public RSS feeds. Users are responsible for ensuring that their collection and use of the data comply with applicable laws and the source website's terms.

### Is Web Scraping Legal?

Collecting information that is already public is generally legal. There is no single law that bans all forms of web scraping. The limits are the usual ones: do not break into accounts, do not take private or confidential data, and be careful with personal data and copyrighted works. A site's terms can also restrict how you access it. Facts such as a public name, price, or rating are not the same as republishing someone's article or photo.

This actor collects information from public pages. It does not log in and it does not bypass access controls.

For a longer explanation, see Apify's article [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/).

# Actor input Schema

## `mode` (type: `string`):

What to collect. Main feed uses une.xml; section feed uses international/rss_full.xml unless you override feedUrls.

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

RSS URLs to read. Leave empty to use the mode default (une.xml or international/rss_full.xml).

## `keywords` (type: `array`):

Only keep items whose title or description contains any keyword (case-insensitive).

## `sinceHours` (type: `integer`):

Drop items older than N hours (based on pubDate). Leave empty to keep all.

## `maxItems` (type: `integer`):

Stop after this many successful rows. Hard max is 1000.

## `userAgent` (type: `string`):

User-Agent header sent with each request.

## `requestDelayMs` (type: `integer`):

Milliseconds to wait between feed requests.

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

Overall run budget in seconds.

## `requestTimeoutSecs` (type: `integer`):

Per-request timeout in seconds.

## `proxyConfiguration` (type: `object`):

Optional proxy. Leave off unless you need it.

## Actor input object example

```json
{
  "mode": "feed",
  "feedUrls": [
    "https://www.lemonde.fr/rss/une.xml",
    "https://www.lemonde.fr/international/rss_full.xml"
  ],
  "keywords": [],
  "maxItems": 100,
  "userAgent": "ActorResearch/1.0",
  "requestDelayMs": 500,
  "timeoutSecs": 300,
  "requestTimeoutSecs": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

Dataset rows in the overview table.

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

Full dataset for this run.

## `items` (type: `string`):

Dataset items as JSON.

# 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.lemonde.fr/rss/une.xml",
        "https://www.lemonde.fr/international/rss_full.xml"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("coder_zoro/le-monde-rss-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.lemonde.fr/rss/une.xml",
        "https://www.lemonde.fr/international/rss_full.xml",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("coder_zoro/le-monde-rss-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.lemonde.fr/rss/une.xml",
    "https://www.lemonde.fr/international/rss_full.xml"
  ]
}' |
apify call coder_zoro/le-monde-rss-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,coder_zoro/le-monde-rss-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/CcfBMWWfsVa1bVLpr/builds/YXIefCzspCZdnSr0k/openapi.json
