# Magnum Urls Spider (`getdataforme/magnum-urls-spider`) Actor

Magnum Urls Spider is an Apify Actor that efficiently crawls Magnum ice cream website URLs to extract key product details like titles, descriptions, prices, and images....

- **URL**: https://apify.com/getdataforme/magnum-urls-spider.md
- **Developed by:** [GetDataForMe](https://apify.com/getdataforme) (community)
- **Categories:** AI, Agents, E-commerce
- **Stats:** 3 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $9.00 / 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.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Magnum Urls Spider

### Introduction

Magnum Urls Spider is a powerful Apify Actor designed to crawl and extract detailed product information from specified URLs on the Magnum ice cream website. It efficiently gathers data such as product titles, descriptions, prices, and images, making it an essential tool for e-commerce analysis and data aggregation. Whether you're conducting market research or monitoring product updates, this Actor ensures reliable and structured data extraction with minimal setup.

### Features

- **Efficient URL Crawling**: Quickly processes multiple URLs to extract product details without manual intervention.
- **Structured Data Output**: Delivers clean, JSON-formatted data for easy integration into databases or analytics tools.
- **Error Handling**: Built-in mechanisms to handle invalid URLs, timeouts, and site changes gracefully.
- **Customizable Inputs**: Supports a list of URLs, allowing flexible targeting of specific products or pages.
- **High Performance**: Optimized for speed and reliability, handling large batches of URLs in a single run.
- **Apify Integration**: Seamlessly runs on the Apify platform with real-time logging and result export options.
- **Data Accuracy**: Focuses on key product attributes to ensure high-quality, actionable insights.

### Input Parameters

| Parameter | Type    | Required | Description | Example |
|-----------|---------|----------|-------------|---------|
| Urls      | Array   | Yes      | A list of URLs to scrape for product information. Each URL must be a valid HTTP or HTTPS link pointing to a Magnum product page. | \["https://www.magnumicecream.com/uk/p/magnum-bonbon-salted-caramel-&-almond.html/08711327640306"] |

### Example Usage

To run the Actor, provide input in JSON format. Here's an example:

```json
{
  "Urls": [
    "https://www.magnumicecream.com/uk/p/magnum-bonbon-salted-caramel-&-almond.html/08711327640306",
    "https://www.magnumicecream.com/uk/p/magnum-classic.html/08711327640307"
  ]
}
```

Example output (JSON array of scraped product data):

```json
[
  {
    "url": "https://www.magnumicecream.com/uk/p/magnum-bonbon-salted-caramel-&-almond.html/08711327640306",
    "title": "Magnum Bonbon Salted Caramel & Almond",
    "description": "Indulge in the rich taste of salted caramel with crunchy almonds, wrapped in smooth chocolate.",
    "price": "£2.50",
    "imageUrl": "https://example.com/image.jpg",
    "availability": "In Stock"
  },
  {
    "url": "https://www.magnumicecream.com/uk/p/magnum-classic.html/08711327640307",
    "title": "Magnum Classic",
    "description": "The original Magnum experience with vanilla ice cream dipped in chocolate.",
    "price": "£2.00",
    "imageUrl": "https://example.com/classic-image.jpg",
    "availability": "Out of Stock"
  }
]
```

### Use Cases

- **Market Research and Analysis**: Gather product details to analyze trends in ice cream offerings and consumer preferences.
- **Competitive Intelligence**: Compare Magnum products with competitors by extracting pricing and feature data.
- **Price Monitoring**: Track price changes across multiple products for dynamic pricing strategies.
- **Content Aggregation**: Collect product descriptions and images for e-commerce websites or catalogs.
- **Academic Research**: Study product marketing and availability in the frozen dessert industry.
- **Business Automation**: Automate data collection for inventory management or sales reporting.

### Installation and Usage

1. Search for "Magnum Urls Spider" in the Apify Store
2. Click "Try for free" or "Run"
3. Configure input parameters
4. Click "Start" to begin extraction
5. Monitor progress in the log
6. Export results in your preferred format (JSON, CSV, Excel)

### Output Format

The Actor outputs a JSON array of objects, where each object represents data from one URL. Key fields include:

- `url`: The original URL scraped.
- `title`: Product name.
- `description`: Detailed product description.
- `price`: Current price as a string.
- `imageUrl`: Link to the product image.
- `availability`: Stock status (e.g., "In Stock" or "Out of Stock").

This structure ensures easy parsing and integration with other tools.

### Support

For custom/simplified outputs or bug reports, please contact:

- Email: support@getdataforme.com
- Subject line: "custom support"
- Contact form: https://getdataforme.com/contact/

We're here to help you get the most out of this Actor!

# Actor input Schema

## `Urls` (type: `array`):

The urls for the spider.

## Actor input object example

```json
{
  "Urls": [
    "https://www.magnumicecream.com/uk/p/magnum-bonbon-salted-caramel-&-almond.html/08711327640306"
  ]
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("getdataforme/magnum-urls-spider").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("getdataforme/magnum-urls-spider").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 '{}' |
apify call getdataforme/magnum-urls-spider --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,getdataforme/magnum-urls-spider"
        }
    }
}

```

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/cKhnZ4Ox5clNZzZZH/builds/INc72S0dHyU60jm9C/openapi.json
