# Bing Actualités Scraper

Scrape articles (title and URL) from Bing with keywords input.

- Template page: [https://www.octoparse.com/template/bing-actualites-scraper](https://www.octoparse.com/template/bing-actualites-scraper)
- Categories: Search Engine
- Status: `PUBLISHED`
- Run mode: `BOTH`

## Pricing

Free.

## What is an Octoparse template?

An Octoparse template is a ready-to-use scraping workflow with predefined inputs and structured outputs. Use the exact parameter keys below; do not invent parameters.

## Overview

This ready-to-use template collects structured data from search-results pages.

## Output

The current workflow extracts 2 fields, including `Titre`, `URL`.

## Use Cases

- Use structured results for research, comparison, and monitoring.
- Collect rows without building the extraction workflow from scratch.
- Combine results with other templates for downstream enrichment.
- Review a representative result before starting a large batch.

## Why Octoparse

- **No coding required:** complete Keywords (up to 10,000 per run) and start the template in local or cloud mode.
- **Flexible export:** review and export results as CSV, Excel, or JSON.

## Input

### Keywords (up to 10,000 per run)

Required. entrez keyword Constraints: minItems=1; maxItems=10000; items.minLength=1; items.maxLength=1000.

## How to Use

# Bing Actualités Scraper

Collects article `Titre` and `URL` from Bing search results using keyword input. The records come from [Ameli](https://www.ameli.fr/).

Pricing: Currently free, with no per-line charge.

## Input

- **Keywords (up to 10,000 per run)** (required): enter one or more values, one per line.

## Output

Each returned row contains:

- `Titre`
- `URL`

These fields come from the search-results pages only; the template does not add data that Ameli does not display. Fields may be empty when the source record does not provide them.

## How to Use

1. Open the template and select **Try it** or **Start**.
2. Enter **Keywords (up to 10,000 per run)**, one value per line.
3. Choose a local or cloud run.
4. Review the returned rows, then export or process the structured data.

## Running and Exporting

- Run **Bing Actualités Scraper** locally or in the cloud.
- Schedule recurring runs. For local scheduled runs, keep your computer and Octoparse open.
- Export rows to CSV, Excel, JSON, databases, or cloud storage.
- Send data to reporting or AI workflows through Octoparse APIs, including the [AgentTools API](https://www.octoparse.com/docs/en/api-reference/agenttools-api/search-templates).
- Scheduling and API access may require a paid Octoparse plan; Octoparse plan or resource limits may still apply.

## Tips

- Start with one or a few keywords and review the returned rows before scaling.
- Use specific, valid keywords to reduce unrelated or duplicate records.
- Use a stable URL or identifier from `Titre` and `URL` as the deduplication key when available.

## Limitations

Results depend on what the source site exposes at run time. Fields may be empty when a source page does not provide a value. The template enforces the input limits shown above.

## Tips

Use specific, valid inputs and review a representative result before starting a large batch. Remove duplicate inputs when repeated records are not needed.

## FAQ

### What do I need to enter?

Use the exact inputs and limits listed above.

### What data does this template return?

See Output Schema below; availability can vary by source record.

### How is usage billed?

See the Pricing section above for current pricing and billing details.

## Related Templates

- [Bing Search Results Scraper](https://www.octoparse.com/template/bing-search-results-scraper)
- [Bing Maps Store Scraper](https://www.octoparse.com/template/bing-maps-store-scraper)
- [Google Search Scraper](https://www.octoparse.com/template/google-search-scraper)
- [Google Maps Listings Scraper (by Keywords)](https://www.octoparse.com/template/google-maps-scraper-listing-page-by-keyword)
- [Google Maps Email Scraper & Extractor](https://www.octoparse.com/template/google-maps-contact-scraper)

## Input Schema

```json
{
  "title": "Bing Actualités Scraper input",
  "description": "Input parameters configured for the current published template version.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {
    "keywords": {
      "title": "Keywords (up to 10,000 per run)",
      "description": "entrez keyword",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 1000
      },
      "minItems": 1,
      "maxItems": 10000,
      "x-octoparse": {
        "apiEnabled": true
      }
    }
  },
  "required": [
    "keywords"
  ]
}
```

## Input JSON Example

Example 1

```json
{
  "keywords": [
    "activité sportive"
  ]
}
```

Example 2

```json
{
  "keywords": [
    "activité sportive"
  ]
}
```

Example 3

```json
{
  "keywords": [
    "activité sportive"
  ]
}
```

Example 4

```json
{
  "keywords": [
    "activité sportive"
  ]
}
```

Example 5

```json
{
  "keywords": [
    "activité sportive"
  ]
}
```


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "Titre": {
      "type": "string",
      "description": ""
    },
    "URL": {
      "type": "string",
      "description": ""
    }
  },
  "title": "Bing Actualités Scraper output",
  "description": "Initial output fields derived from the current published implementation. Field descriptions are maintained by Data Center; production field names and types should be refreshed from recent successful runs.",
  "additionalProperties": false
}
```

## Output Example

Example 1

```json
{
  "Titre": "Activités sportives : 20 idées classées par profil et budget",
  "URL": "https://www.bing.com/ck/a?!&&p=ec320c310f0178f2a378688e26d6506045ad6e0c868227f5df27f064e955943dJmltdHM9MTc5NjI1NjAwMA&ptn=3&ver=2&hsh=4&fclid=0763ac5a-ac95-6667-3a03-b47ead926707&u=a1aHR0cHM6Ly9jb3Vycy1waWxhdGVzLm5ldC9pZGVlcy1hY3Rpdml0ZXMtc3BvcnRpdmVz&ntb=1"
}
```

Example 2

```json
{
  "Titre": "Activités sportives : 20 idées classées par profil et budget",
  "URL": "https://www.bing.com/ck/a?!&&p=7bd5588e34305f881320d9102c45bc05d3d70698f672d2dee89023e445271f2aJmltdHM9MTc5NjA4MzIwMA&ptn=3&ver=2&hsh=4&fclid=047a400d-b8c1-6825-07a3-582fb9766985&u=a1aHR0cHM6Ly9jb3Vycy1waWxhdGVzLm5ldC9pZGVlcy1hY3Rpdml0ZXMtc3BvcnRpdmVz&ntb=1"
}
```

Example 3

```json
{
  "Titre": "Activités sportives : 20 idées classées par profil et budget",
  "URL": "https://www.bing.com/ck/a?!&&p=cac1e365e9e5b8848cc55e66227519a62966587b2c36ecb4c85acd0b80ea5c05JmltdHM9MTc5NTkxMDQwMA&ptn=3&ver=2&hsh=4&fclid=1d5a8e0b-846e-6d41-2537-962b85ec6c50&u=a1aHR0cHM6Ly9jb3Vycy1waWxhdGVzLm5ldC9pZGVlcy1hY3Rpdml0ZXMtc3BvcnRpdmVz&ntb=1"
}
```

Example 4

```json
{
  "Titre": "Liste de tous les sports : collectifs et individuels",
  "URL": "https://www.bing.com/ck/a?!&&p=1f672c83bddb2dee55a0b1fde6ac3837538e5dad37f6f5a743223fbcdbca2376JmltdHM9MTc5MTkzNjAwMA&ptn=3&ver=2&hsh=4&fclid=147ef3a4-eaa7-69c5-24c6-e456eb9a68dd&u=a1aHR0cHM6Ly93d3cuc3BvcnQtZXQtbG9pc2lyLmNvbS9saXN0ZS1kZXMtc3BvcnRzLWNvbGxlY3RpZnMtZXQtaW5kaXZpZHVlbHMv&ntb=1"
}
```

Example 5

```json
{
  "Titre": "Liste de tous les sports : collectifs et individuels",
  "URL": "https://www.bing.com/ck/a?!&&p=e8e9d27ec7d833f789a8a92a835a37163fec4edd1ac4d2cb97530eba5311df19JmltdHM9MTc5MTQxNzYwMA&ptn=3&ver=2&hsh=4&fclid=1f45bebf-e76d-6deb-3da8-a952e6526c0a&u=a1aHR0cHM6Ly93d3cuc3BvcnQtZXQtbG9pc2lyLmNvbS9saXN0ZS1kZXMtc3BvcnRzLWNvbGxlY3RpZnMtZXQtaW5kaXZpZHVlbHMv&ntb=1"
}
```

## API

`POST https://openapi.octoparse.com/api/agentTools/executeTask`

This is the OpenAPI Agent Tools `executeTask` endpoint. Authenticate with a Bearer token.

Request body:

`templateName` is the template slug; `parameters` is a JSON object string whose keys match Input Schema; `taskName`, `idempotencyKey`, and `maxCollectedRows` are optional.

Obtain a token:

```http
POST https://openapi.octoparse.com/token
Content-Type: application/json

{
  "username": "YOUR_USERNAME",
  "password": "YOUR_PASSWORD",
  "grant_type": "password"
}
```

Use `data.access_token` as `Authorization: Bearer <token>`. After starting, poll `getTaskStatus` and export with `exportData`.

```json
{
  "templateName": "bing-actualites-scraper",
  "taskName": "Bing Actualités Scraper",
  "parameters": "{\"keywords\":[\"activité sportive\"]}"
}
```

## Python Example

```python
import json
import requests

OPENAPI_BASE = "https://openapi.octoparse.com"
ACCESS_TOKEN = "YOUR_ACCESS_TOKEN"

parameters = json.loads("{\"keywords\":[\"activité sportive\"]}")

response = requests.post(
    f"{OPENAPI_BASE}/api/agentTools/executeTask",
    headers={
        "Authorization": f"Bearer {ACCESS_TOKEN}",
        "Content-Type": "application/json",
    },
    json={
        "templateName": "bing-actualites-scraper",
        "taskName": "Bing Actualités Scraper",
        "parameters": json.dumps(parameters, ensure_ascii=False),
    },
    timeout=60,
)
print(response.status_code)
print(response.json())
```

## HTTP/cURL Example

```bash
curl -X POST "https://openapi.octoparse.com/api/agentTools/executeTask" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "templateName": "bing-actualites-scraper",
  "taskName": "Bing Actualités Scraper",
  "parameters": "{\"keywords\":[\"activité sportive\"]}"
}
JSON
```

## MCP Setup

Connect an MCP-compatible AI client to `https://mcp.octoparse.com` using browser OAuth or an Octoparse API key. Find `bing-actualites-scraper`, inspect its inputs, create a cloud task with the exact Input Schema keys, and export JSON results.

## Machine-readable Resources

- [Template contract](https://www.octoparse.com/templates/bing-actualites-scraper.json)
- [Manifest](https://www.octoparse.com/templates/bing-actualites-scraper-manifest.json)
