# Video Download Link Crawler(fast and cheap) (`thenetaji/video-download-link-crawler`) Actor

Extract direct video download links from any webpage! Customize crawling with regex, export in multiple formats, and automate video collection. Fast, efficient, and cheap—try now!

- **URL**: https://apify.com/thenetaji/video-download-link-crawler.md
- **Developed by:** [The Netaji](https://apify.com/thenetaji) (community)
- **Categories:** Videos, Automation, Developer tools
- **Stats:** 149 total users, 3 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $2.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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#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

## 🎥 Video Download Link Crawler

[![Apify Actor](https://img.shields.io/badge/Powered%20by-Apify-blue.svg)](https://apify.com)

🚀 Easily crawl websites to detect and extract video download links, along with other media types like images, audio files, and APKs. Perfect for content creators, researchers, and developers who need to gather media assets from websites.

### 🎯 What Does It Do?

This powerful crawler specializes in finding video download links while also supporting:

- 🎬 Videos (MP4, WebM, etc.)
- 🖼️ Images (JPG, PNG, GIF, etc.)
- 🎵 Audio files (MP3, WAV, etc.)
- 📱 APK files (Android applications)

### ⚙️ Input Configuration

Configure your crawl with these parameters:

- 🔗 **startUrls**: List of URLs to begin crawling
- 📋 **mediaType**: Choose what to extract:
  - `video` (focus on videos)
  - `all` (get everything)
  - `image` (images only)
  - `audio` (audio files)
  - `apk` (Android packages)
- 🌲 **maxCrawlDepth**: How deep to crawl (default: 1)
- 🚦 **maxConcurrency**: Parallel requests (default: 10)
- 🔄 **maxRequestRetries**: Retry attempts (default: 3)
- 🎯 **maxUrlsToCrawl**: URL limit (default: 100)
- 🔒 **useProxy**: Proxy settings for better success rates

#### 📝 Example Input

```json
{
  "startUrls": [{ "url": "https://example.com" }],
  "mediaType": "video",
  "maxCrawlDepth": 2,
  "maxConcurrency": 5,
  "maxRequestRetries": 2,
  "maxUrlsToCrawl": 50,
  "useProxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "US"
  }
}
```

### 📊 Output Data

Get structured data for each media link:

```json
{
  "sourceUrl": "https://example.com",
  "pageTitle": "Example Page",
  "mediaLinks": [
    {
      "url": "https://example.com/media/video.mp4",
      "sourceUrl": "https://example.com",
      "title": "Example Page",
      "type": "video",
      "foundAt": "2025-03-13T02:16:08Z"
    }
  ],
  "timestamp": "2025-03-13T02:16:08Z"
}
```

### ✨ Key Features

- 🤖 **Smart Detection**: Automatically identifies various media types
- 🔄 **Flexible Crawling**: Adjust depth and concurrency
- 🛡️ **Proxy Support**: Uses Apify's proxy infrastructure
- 📊 **Detailed Output**: Get organized, structured data
- 🚀 **High Performance**: Optimized for speed and reliability

### 🚀 Getting Started

1. Visit [Apify](https://apify.com)
2. Search for "Video Download Link Crawler"
3. Set your parameters
4. Start crawling!

### 💡 Pro Tips

- Use `maxCrawlDepth` wisely to control the scope
- Enable proxies for better success rates
- Start with a small `maxUrlsToCrawl` to test
- Use `mediaType: "all"` to get every media type

### 🆘 Need Help?

Contact @thenetaji for support or visit [Apify Documentation](https://docs.apify.com)

### 🚀 Explore Our Analytics Ecosystem

#### 📱 [TikTok Profile Scraper](https://apify.com/thenetaji/tiktok-profile-scraper/api?utm_source=actor-docs\&utm_medium=readme\&utm_campaign=thenetaji)

Advanced tool for extracting detailed TikTok user profiles and engagement metrics.

#### 🎵 [TikTok Video Downloader (No Watermarks)](https://apify.com/thenetaji/tiktok-video-downloader/api?utm_source=actor-docs\&utm_medium=readme\&utm_campaign=thenetaji)

Download clean TikTok videos without platform watermarks for content repurposing.

#### 🎥 [YouTube Video Downloader](https://apify.com/thenetaji/youtube-video-downloader/api?utm_source=actor-docs\&utm_medium=readme\&utm_campaign=thenetaji)

Efficiently extract YouTube video content in multiple resolution options.

#### 🔊 [YouTube Music Downloader](https://apify.com/thenetaji/youtube-music-downloader/api/openapi?utm_source=actor-docs\&utm_medium=readme\&utm_campaign=thenetaji)

Extract audio tracks from YouTube videos for offline use and analysis.

#### 📊 [YouTube Scraper](https://apify.com/thenetaji/youtube-scraper?utm_source=actor-docs\&utm_medium=readme\&utm_campaign=thenetaji)

Comprehensive YouTube data extraction for channel and video analytics.

#### 🌐 [Website Media Link Scraper](https://apify.com/thenetaji/website-media-link-scraper/api?utm_source=actor-docs\&utm_medium=readme\&utm_campaign=thenetaji)

Extract media assets from websites for content analysis and archiving.

#### 📹 [YouTube Video & Music Downloader](https://apify.com/thenetaji/youtube-video-and-music-downloader?utm_source=actor-docs\&utm_medium=readme\&utm_campaign=thenetaji)

Combined solution for extracting both video and audio content from YouTube.

### 📘 Documentation & Support

For implementation questions, feature requests, or technical assistance, contact our development team through the Apify platform.

# Actor input Schema

## `startUrls` (type: `array`):

List of URLs to start crawling from

## `mediaType` (type: `string`):

The type of media links to extract from the crawled pages

## `maxCrawlDepth` (type: `integer`):

Maximum depth to crawl from the start URLs (higher values may significantly increase run time)

## `minConcurrency` (type: `integer`):

Minimum number of concurrent request to start with

## `maxUrlsToCrawl` (type: `integer`):

Maximum number of urls to crawl

## `maxRequestRetries` (type: `integer`):

Maximum number of times to retry a request if it fails

## `useProxy` (type: `object`):

Whether to use Apify Proxy for making requests (recommended for most websites)

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://apify.com/"
    }
  ],
  "mediaType": "all",
  "maxCrawlDepth": 2,
  "minConcurrency": 5,
  "maxUrlsToCrawl": 100,
  "maxRequestRetries": 2,
  "useProxy": {
    "useApifyProxy": false,
    "apifyProxyGroups": []
  }
}
```

# 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 = {
    "startUrls": [
        {
            "url": "https://apify.com/"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("thenetaji/video-download-link-crawler").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 = { "startUrls": [{ "url": "https://apify.com/" }] }

# Run the Actor and wait for it to finish
run = client.actor("thenetaji/video-download-link-crawler").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 '{
  "startUrls": [
    {
      "url": "https://apify.com/"
    }
  ]
}' |
apify call thenetaji/video-download-link-crawler --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

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