# Dailymotion Video Downloader (`codenest/dailymotion-video-downloader`) Actor

Get complete Dailymotion video data in one output! Access highest quality streams, full metadata (title, uploader, views), thumbnails, and multiple resolution options. Perfect for content archiving, editing, and analytics. Save time with batch processing!

- **URL**: https://apify.com/codenest/dailymotion-video-downloader.md
- **Developed by:** [CodeNest](https://apify.com/codenest) (community)
- **Categories:** Videos, Automation, Developer tools
- **Stats:** 14 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$8.00/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period.You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#rental-actors

## 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

## 🎥 Dailymotion Video Downloader - Professional Media Extraction Tool

**Effortlessly download Dailymotion videos with our enterprise-grade powerful **Dailymotion Video Downloader**! This Apify actor enables you to batch download Dailymotion content while preserving high video quality, comprehensive metadata and direct CDN access.**

***

### 📋 Overview

Need to archive Dailymotion content or repurpose videos? This **Dailymotion Video Downloader** delivers:

- 🎬 **Multiple Format Support**: HLS streams with various resolutions (360p to 1080p)
- 📊 **Rich Metadata**: Titles, descriptions, uploader details, view counts
- 🔗 **Smart URL Handling**: Supports both dai.ly shortlinks and full Dailymotion URLs
- 🖼️ **Thumbnail Gallery**: Multiple thumbnail resolutions including original
- 📦 **Batch Processing**: Download multiple Dailymotion videos in one run

Perfect for content creators 🎨, media analysts 📈, video editors 🎞️, and developers 💻 who need a reliable **Dailymotion Video Downloader**!

### ⚡ Core Capabilities/Key Features

#### 🎯 Media Options

- **Best Quality Auto-Selection**: Automatically fetches highest available quality
- **Multiple Resolutions**: 360p, 480p, 720p, 1080p HLS streams
- **Format Details**: Complete codec information (video/audio codecs, bitrates)
- **Bulk Mode**: Process multiple Dailymotion video URLs per run

#### 📝 Metadata Mastery

- **Video Details**: Title, description, duration, upload date
- **Uploader Profile**: Creator name, URL, avatar images, follower count
- **Engagement Stats**: View count, likes, comments, bookmarks
- **Technical Specs**: Aspect ratio, video ID, language, country

#### 🔧 Advanced Tech

- **URL Resolution**: Automatically resolves dai.ly shortlinks to full URLs
- **API Integration**: Direct Dailymotion API data access
- **Thumbnail Extraction**: Multiple resolution thumbnails (60px to 1080px + original)
- **HLS Stream Support**: Native m3u8 playlist extraction

***

### 📥 Input Configuration

Just enter the Dailymotion video URLs in the Input Section then click the "start" button and wait for the results. The **Dailymotion Video Downloader** accepts URLs in both short and full formats:

```json
{
  "urls": [
    {
      "url": "https://dai.ly/xa11l1q"
    },
    {
      "url": "https://dai.ly/xa1gwvc"
    },
    {
      "url": "https://www.dailymotion.com/video/xa1kels"
    }
  ]
}
```

#### 📊 Input Specifications

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `urls` | Array | Yes | Array of Dailymotion video URLs to process |
| `url` | String | Yes | Valid Dailymotion URL (dai.ly shortlink or full dailymotion.com/video/ format) |

***

### 📤 Output Structure

The **Dailymotion Video Downloader** provides comprehensive output with video data, API metadata, and format details:

```json
[
  {
    "input_url": "https://dai.ly/xa11l1q",
    "resolved_url": "https://www.dailymotion.com/video/xa11l1q",
    "video_id": "xa11l1q",
    "best_video_url": "https://vod3.cf.dmcdn.net/.../manifest.m3u8",
    "dailymotion_api": {
      "video_id": "xa11l1q",
      "title": "\"Women don't really get the chance to play pirates\"",
      "description": "Priyanka Chopra on playing pirates in her newly released movie The Bluff!",
      "duration_seconds": 34,
      "created_time": 1772454678,
      "updated_time": 1772461891,
      "published": true,
      "media_type": "video",
      "language": "en",
      "country": "IN",
      "stats": {
        "views": 966,
        "likes": 0,
        "bookmarks": 0,
        "comments": 0
      },
      "thumbnails": {
        "60": "https://s2.dmcdn.net/.../x60",
        "120": "https://s1.dmcdn.net/.../x120",
        "180": "https://s2.dmcdn.net/.../x180",
        "240": "https://s1.dmcdn.net/.../x240",
        "360": "https://s1.dmcdn.net/.../x360",
        "480": "https://s1.dmcdn.net/.../x480",
        "720": "https://s1.dmcdn.net/.../x720",
        "1080": "https://s2.dmcdn.net/.../x1080",
        "original": "https://s1.dmcdn.net/.../original"
      },
      "uploader": {
        "id": "x3626z8",
        "screenname": "Brut India",
        "url": "https://www.dailymotion.com/brutindia",
        "avatar_60_url": "https://s1.dmcdn.net/.../60x60",
        "avatar_120_url": "https://s1.dmcdn.net/.../120x120",
        "avatar_240_url": "https://s1.dmcdn.net/.../240x240",
        "followers_total": 136,
        "videos_total": 9378,
        "country": "IN"
      }
    },
    "video_metadata": {
      "video_id": "xa11l1q",
      "title": "\"Women don't really get the chance to play pirates\"",
      "description": "Priyanka Chopra on playing pirates...",
      "duration": 34,
      "duration_string": "34",
      "upload_date": "20260302",
      "timestamp": 1772454678,
      "view_count": 965,
      "like_count": 0,
      "thumbnail": "https://s1.dmcdn.net/.../x1080",
      "best_download_url": "https://vod3.cf.dmcdn.net/.../manifest.m3u8",
      "formats": [...]
    }
  }
]
```

#### 📑 Output Field Documentation

**📍 Basic Information**
| Field | Description |
|-------|-------------|
| `input_url` | Original URL provided to the **Dailymotion Video Downloader** |
| `resolved_url` | Full Dailymotion URL after shortlink resolution |
| `video_id` | Unique Dailymotion video identifier |
| `best_video_url` | Highest quality video stream URL |

**📊 Dailymotion API Section**
| Field | Description |
|-------|-------------|
| `title` | Video title |
| `description` | Video description text |
| `duration_seconds` | Video length in seconds |
| `created_time` | Unix timestamp of upload |
| `stats.views` | Total view count |
| `thumbnails` | Object containing all thumbnail resolutions |

**👤 Uploader Information**
| Field | Description |
|-------|-------------|
| `uploader.screenname` | Creator's display name |
| `uploader.url` | Creator's Dailymotion channel URL |
| `uploader.followers_total` | Channel follower count |
| `uploader.videos_total` | Total videos uploaded by creator |

**🎬 Video Formats**
| Field | Description |
|-------|-------------|
| `format_id` | Unique identifier for each quality tier |
| `width` | Video width in pixels |
| `height` | Video height in pixels |
| `vcodec` | Video codec (e.g., avc1.640028) |
| `acodec` | Audio codec |
| `tbr` | Total bitrate |
| `protocol` | Streaming protocol (m3u8\_native) |

***

### 📐 Quality Tiers Available

This **Dailymotion Video Downloader** automatically detects and provides multiple quality options:

1. **🎯 Full HD (1080p)** - 1920x1080 with advanced AVC/H.264 codec
2. **📺 HD Ready (720p)** - 1280x720 for perfect balance of quality and size
3. **📱 Mobile HD (480p)** - 848x480 optimized for mobile viewing
4. **📟 Standard (360p)** - 640x360 for bandwidth conservation

Each quality tier includes complete technical specifications for professional workflows.

***

### 🔬 Technical Features

#### 📡 Advanced Format Support

- **HLS Streaming**: Native m3u8 playlist extraction
- **Multiple Codecs**: Full AVC/H.264 support across all qualities
- **Audio/Video Sync**: Properly muxed streams with audio codec info
- **Bitrate Information**: Total bitrate (tbr) for quality assessment

#### 📊 Metadata Extraction

- **Dual-Source Data**: Both direct API and extracted metadata
- **Precise Duration**: Second-level accuracy with duration\_string formatting
- **Timestamp Preservation**: Unix timestamps for created/updated times
- **Thumbnail Gallery**: Complete set from 60px to original resolution

#### 🔗 URL Intelligence

- **Smart Resolution**: Automatically resolves dai.ly shortlinks
- **ID Extraction**: Clean video ID parsing from any URL format
- **Validation**: Ensures URLs are valid Dailymotion video links

#### 🛡️ Reliability Features

- **Direct CDN Access**: Raw video stream URLs for maximum reliability
- **Multiple Quality Fallback**: If one quality fails, others are available
- **Comprehensive Error Handling**: Graceful failure management
- **API Integration**: Direct Dailymotion API data as backup

***

### 💼 Use Cases

- **🎬 Content Creators** – Download Dailymotion videos for reference and inspiration
- **📊 Media Analysts** – Track video performance metrics and engagement data
- **🎞️ Video Editors** – Access source material for remixes and compilations
- **📚 Researchers** – Study content trends and viral patterns on Dailymotion
- **📱 App Developers** – Build Dailymotion-powered applications
- **🏢 Agencies** – Archive client content and monitor competitor videos

***

### ✅ Why Choose Our Dailymotion Video Downloader?

- **🚀 Reliable Performance**: Stable and efficient downloading process specifically optimized for Dailymotion
- **🔄 Smart URL Handling**: Supports both dai.ly shortlinks and full URLs
- **📊 Rich Metadata**: Complete video information including uploader stats and thumbnails
- **🎯 Multiple Quality Options**: Access to all available resolutions
- **👤 User-Friendly**: Simple interface for both beginners and advanced users
- **🆓 Regular Updates**: Maintained to ensure compatibility with Dailymotion changes
- **📦 Batch Processing**: Download multiple Dailymotion videos in one run

***

### ⚠️ Limitations

- Only works with public Dailymotion videos
- Age-restricted content may require authentication
- The **Dailymotion Video Downloader** may hit rate limits depending on Dailymotion's restrictions
- Some videos may have geographic restrictions

***

### 📧 Need Customization?

Want \*higher resolutions, \*\*batch processing enhancements, or \**custom metadata fields* for your **Dailymotion Video Downloader**?

✉ Email *[codenest2.0@gmail.com](codenest2.0@gmail.com)* for tailored solutions!

***

# Actor input Schema

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

List of Dailymotion video URLs.

## `download_media` (type: `boolean`):

When enabled, the actor downloads and merges video and audio streams into a single MP4 using ffmpeg.

## `useKvStore` (type: `boolean`):

When enabled (and download\_media is also on), the merged MP4 is uploaded to Apify KV Store and a permanent public URL is returned.

## Actor input object example

```json
{
  "urls": [
    {
      "url": "https://www.dailymotion.com/video/x8ozwho"
    }
  ],
  "download_media": true,
  "useKvStore": true
}
```

# 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 = {
    "urls": [
        {
            "url": "https://www.dailymotion.com/video/x8ozwho"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("codenest/dailymotion-video-downloader").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 = { "urls": [{ "url": "https://www.dailymotion.com/video/x8ozwho" }] }

# Run the Actor and wait for it to finish
run = client.actor("codenest/dailymotion-video-downloader").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "urls": [
    {
      "url": "https://www.dailymotion.com/video/x8ozwho"
    }
  ]
}' |
apify call codenest/dailymotion-video-downloader --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=codenest/dailymotion-video-downloader",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/AOqaotf1f2f8aQAeJ/builds/jjixk3Qi9bhcd6qCV/openapi.json
