# Public-Domain Movie Downloader & Metadata Scraper (`mrdoe/public-domain-movie-downloader`) Actor

Search and download legally available public-domain movies automatically. Finds films by title, extracts metadata and license information, and stores the video file in Key-Value Storage only when its public-domain or open license is verified.

- **URL**: https://apify.com/mrdoe/public-domain-movie-downloader.md
- **Developed by:** [MrDoe](https://apify.com/mrdoe) (community)
- **Categories:** Videos
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $100.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?

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

![Public-Domain Movie Downloader & Metadata Scraper - Public-domain movies with license, format, size and storage key](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/public-domain-movie-downloader--hero.png)

### What does Public-Domain Movie Downloader & Metadata Scraper do?

Public-Domain Movie Downloader & Metadata Scraper searches a source of legally downloadable films, currently the Internet Archive, for the titles you give it. For each match it collects the title, year, description, director, cast, genres, language, runtime, license, source page and poster, and lists the video file that is offered for download with its format and size. When you switch downloading on, the Actor saves the selected file to Key-Value Storage, but only when the item's own public-domain or open license can be verified and the file is within your size limit. Films without a verified license are still described but never downloaded.

### Why use Public-Domain Movie Downloader & Metadata Scraper?

- Build a library of public-domain films without checking each item by hand.
- Every download is gated by a license check, so unverified films are never downloaded.
- Choose metadata only, or download the best file that fits your size limit.
- Large files are streamed to disk and storage, never held in memory.
- Clean records for media catalogues, archives, education and film research.

### What makes this different

Downloading is conservative by design: a file is downloaded only when the source's own metadata carries a public-domain mark or an open license, split multi-part films are ignored, and every record says whether downloading was allowed and why a file was skipped.

### How it works

![Public-Domain Movie Downloader & Metadata Scraper workflow: your input, collection, output](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/public-domain-movie-downloader--how-it-works.png)

1. **Your input** — enter the movie titles to search and choose whether to download the files.
2. **The Actor collects it** — the Actor finds matching films, reads their metadata and checks their license.
3. **Your output** — you get one record per film, and verified files are saved to Key-Value Storage.

### What data can you extract?

The dataset has 25 fields per row:

| Field             | Type    | Description                                                                            |
| ----------------- | ------- | -------------------------------------------------------------------------------------- |
| `source`          | string  | Source the film came from, such as internet_archive.                                   |
| `sourceId`        | string  | Identifier of the item in the source.                                                  |
| `title`           | string  | Film title.                                                                            |
| `year`            | integer | Release year.                                                                          |
| `description`     | string  | Description from the source.                                                           |
| `director`        | string  | Director or creator when the source lists one.                                         |
| `cast`            | array   | Cast members when the source lists them.                                               |
| `genres`          | array   | Genres or subjects.                                                                    |
| `language`        | string  | Spoken language.                                                                       |
| `runtimeMinutes`  | integer | Runtime in minutes.                                                                    |
| `license`         | string  | Verified license, such as Public Domain or CC BY 4.0; null when it cannot be verified. |
| `licenseUrl`      | string  | License address published by the source.                                               |
| `sourceUrl`       | string  | Page of the film on the source.                                                        |
| `posterUrl`       | string  | Poster or thumbnail image.                                                             |
| `downloadAllowed` | boolean | True when the license is verified and a video file is offered.                         |
| `mediaAvailable`  | boolean | True when the source offers a video file.                                              |
| `mediaFormat`     | string  | Format of the selected file: mp4, webm or ogg.                                         |
| `mediaQuality`    | string  | Quality tier of the selected file: best, medium or small.                              |
| `mediaSizeBytes`  | integer | Size of the selected file in bytes.                                                    |
| `mediaUrl`        | string  | Address of the file; only set when downloading is allowed.                             |
| `downloaded`      | boolean | True when the file is in storage.                                                      |
| `storageKey`      | string  | Key of the file in the Key-Value Store.                                                |
| `downloadUrl`     | string  | Address of the stored file.                                                            |
| `downloadError`   | string  | Why a file was skipped or failed; null otherwise.                                      |
| `scrapedAt`       | string  | When the record was created (ISO 8601 UTC).                                            |

### How to use Public-Domain Movie Downloader & Metadata Scraper

![Public-Domain Movie Downloader & Metadata Scraper input form](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/public-domain-movie-downloader--input.png)

1. Open the Actor and go to the **Input** tab.
2. Enter one or more **Movie titles to search**. Leave **Download the video files** off for metadata only, or turn it on to save permitted files.
3. Optionally set filters and a **Max results** limit.
4. Click **Start**. A default run finishes in under a minute.
5. Open the **Output** tab, then download the dataset or connect it to your tools.

### Input Parameters

| Parameter            | Type    | Required | Default                                                        | Description                                                                                                                                                                                                          |
| -------------------- | ------- | -------- | -------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `searchTerms`        | array   | Yes      | `["Night of the Living Dead","His Girl Friday","The General"]` | One movie title per line, for example "Night of the Living Dead", "His Girl Friday" or "The General". Each title is searched in the selected source and the best matches are processed.                              |
| `source`             | string  | No       | `"internet_archive"`                                           | Where to search. Only sources for legally downloadable public-domain or openly licensed films are offered.                                                                                                           |
| `maxItems`           | integer | No       | `20`                                                           | The maximum number of movie records for the whole run (1 to 100). The matches are shared between the search titles.                                                                                                  |
| `downloadMedia`      | boolean | No       | `false`                                                        | Off by default: only metadata and the address of the offered file are collected. When on, the selected file is downloaded into the Key-Value Store, but only when its public-domain or open license can be verified. |
| `maxDownloadSizeMB`  | integer | No       | `500`                                                          | Files larger than this are never downloaded. The best file that fits is chosen. From 1 to 5000. Large files need more Actor memory because they are stored on disk during the transfer.                              |
| `mediaQuality`       | string  | No       | `"best"`                                                       | Best takes the largest file that fits the limit, small takes the smallest, medium is in between. MP4 is preferred, then WebM, then Ogg.                                                                              |
| `maxConcurrency`     | integer | No       | `2`                                                            | How many movies are processed at the same time (1 to 5). Keep it low: downloads are large and the source should not be crawled aggressively.                                                                         |
| `keyValueStoreName`  | string  | No       | —                                                              | Store downloaded files in this named store so they are kept between runs and are not downloaded again. Leave empty to use the run's own store.                                                                       |
| `proxyConfiguration` | object  | No       | `{"useApifyProxy":false}`                                      | Optional. The Internet Archive does not need a proxy.                                                                                                                                                                |

### Output Data

![Public-Domain Movie Downloader & Metadata Scraper dataset table](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/public-domain-movie-downloader--output.png)

`license` and `licenseUrl` come from the source item. `downloadAllowed` is true only when the license is verified and a video file is offered. `mediaUrl` is only filled for films that may be downloaded. `downloaded` is true once the file is in storage under `storageKey`, and `downloadError` explains why a file was skipped or failed. Fields that do not apply are `null`.

![Public-Domain Movie Downloader & Metadata Scraper field map of one record](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/public-domain-movie-downloader--fields.png)

A real dataset item:

```json
{
    "source": "internet_archive",
    "sourceId": "night_of_the_living_dead_dvd",
    "title": "Night of the Living Dead",
    "year": 1968,
    "description": "I did some digital tweaking on Night of the Living Dead to make it more watchable and made it into a DVD image that you can burn.",
    "director": null,
    "cast": [],
    "genres": ["horror", "zombies"],
    "language": null,
    "runtimeMinutes": 96,
    "license": "Public Domain",
    "licenseUrl": "http://creativecommons.org/licenses/publicdomain/",
    "sourceUrl": "https://archive.org/details/night_of_the_living_dead_dvd",
    "posterUrl": "https://archive.org/services/img/night_of_the_living_dead_dvd",
    "downloadAllowed": true,
    "mediaAvailable": true,
    "mediaFormat": "ogg",
    "mediaQuality": "best",
    "mediaSizeBytes": 441276820,
    "mediaUrl": "https://archive.org/download/night_of_the_living_dead_dvd/Night.ogv",
    "downloaded": false,
    "storageKey": null,
    "downloadUrl": null,
    "downloadError": null,
    "scrapedAt": "2026-09-20T04:53:37.195Z"
}
```

### Usage Examples

#### Metadata only for classic films

```json
{
    "searchTerms": ["Night of the Living Dead", "The General", "His Girl Friday"],
    "downloadMedia": false,
    "maxItems": 20
}
```

#### Download a permitted film

```json
{
    "searchTerms": ["Night of the Living Dead"],
    "downloadMedia": true,
    "mediaQuality": "best",
    "maxDownloadSizeMB": 500
}
```

#### Small files only

```json
{
    "searchTerms": ["Wonder Bread Commercial"],
    "downloadMedia": true,
    "mediaQuality": "small",
    "maxDownloadSizeMB": 50
}
```

### Tips for Best Results

- Start with metadata only to see which films are permitted and how large their files are.
- Use a named Key-Value Store to keep files between runs and skip files that are already stored.
- Raise the Actor memory for very large files, because they are written to disk during the transfer.
- Keep concurrency low; movie files are large and the source should not be crawled aggressively.

### Supported source

The Actor currently searches the **Internet Archive** for films. Its architecture uses one adapter per source, so other legitimate public-domain sources can be added later.

### Public-domain and licensed content only

A video file is downloaded only when **all** of these are true:

- the source item carries a public-domain mark, a Creative Commons license or a not-in-copyright status in its own metadata,
- the item is not restricted to borrowing,
- a video file is offered for download and it is within `maxDownloadSizeMB`.

A film is never treated as legal just because its address is public, the file can be fetched, or another site links to it. When the status cannot be verified, the record shows `downloadAllowed: false` and no download address.

### Download limits and storage

- `maxDownloadSizeMB` (1 to 5000) is checked before the download and again while streaming.
- Files are streamed to disk and then into the Key-Value Store, so a movie is never held in memory. Large files need enough Actor memory for the temporary disk space.
- Keys look like `movies__night-of-the-living-dead-1968.mp4`. If two films would share a key, the source ID is added.
- Failed transfers are retried up to three times with increasing delays; permanent errors such as a missing file are not retried.
- Use `keyValueStoreName` to keep files between runs; files already stored for the same source item are not downloaded again.

### Scheduling and API usage

Schedule the Actor from the Apify Console to refresh a film library, or start it from code:

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('YOUR_USERNAME/public-domain-movie-downloader').call({
    searchTerms: ['Night of the Living Dead'],
    downloadMedia: false,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

### Known Limitations

- Only films whose own metadata carries a public-domain mark, a Creative Commons license or a not-in-copyright status can be downloaded.
- The Actor cannot decide whether a work is public domain in your country; it relies on the license information published by the source.
- Only the Internet Archive is supported at the moment.
- Key-Value Store keys cannot contain a slash, so files are stored as movies__title-year.mp4 rather than movies/title-year.mp4.
- Cast lists are only available when the source item provides them.
- Films that the source restricts to borrowing are never downloaded.

### Integrations

Run it from the Apify API, on a schedule, or from a webhook. Send results straight to Google Sheets, Make, Zapier, Slack or your own database with Apify's built-in integrations.

### Export Formats

Download the dataset as JSON, CSV, Excel, XML, HTML table or RSS from the **Output** tab or the API.

### Frequently Asked Questions

#### Does it download copyrighted movies?

No. A file is downloaded only when the source item identifies itself as public domain or openly licensed. Items without that information are described but never downloaded.

#### Where are the files saved?

In the Key-Value Store of the run, or in the named store you choose. Each file has a storage key and a download address in its dataset record.

#### What happens to a file that is too large?

Files above the size limit are skipped, and a smaller version of the same film is chosen when one exists.

#### Can it download the same film twice?

Not when you use a named Key-Value Store: files already stored for the same source item are reused.

#### What formats are downloaded?

MP4 is preferred, then WebM, then Ogg.

#### Is a license enough to use a film freely?

Check the license of each film yourself. Some Creative Commons licenses require attribution or forbid commercial use.

#### Do I need an account or login?

No. The Actor reads public pages and needs no account, cookies or API key.

#### Am I charged for failed runs or empty results?

You are only charged for results that are actually written to the dataset.

#### Can I run it on a schedule?

Yes. Create a Task with your input and add a schedule in Apify Console. With monitor mode on, each scheduled run returns only what changed since the previous one.

### Support

Questions or a missing field? Open an issue from the **Issues** tab on this Actor's page and it will be looked at.

### Legal / Responsible Use

Use this Actor only for public-domain or openly licensed films. The Actor relies on the license information published by the source and cannot guarantee that a work is public domain in your country. You are responsible for checking the license of each film and for complying with its terms, including attribution and non-commercial conditions. It is not affiliated with the Internet Archive.

# Actor input Schema

## `searchTerms` (type: `array`):

One movie title per line, for example "Night of the Living Dead", "His Girl Friday" or "The General". Each title is searched in the selected source and the best matches are processed.

## `source` (type: `string`):

Where to search. Only sources for legally downloadable public-domain or openly licensed films are offered.

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

The maximum number of movie records for the whole run (1 to 100). The matches are shared between the search titles.

## `downloadMedia` (type: `boolean`):

Off by default: only metadata and the address of the offered file are collected. When on, the selected file is downloaded into the Key-Value Store, but only when its public-domain or open license can be verified.

## `maxDownloadSizeMB` (type: `integer`):

Files larger than this are never downloaded. The best file that fits is chosen. From 1 to 5000. Large files need more Actor memory because they are stored on disk during the transfer.

## `mediaQuality` (type: `string`):

Best takes the largest file that fits the limit, small takes the smallest, medium is in between. MP4 is preferred, then WebM, then Ogg.

## `maxConcurrency` (type: `integer`):

How many movies are processed at the same time (1 to 5). Keep it low: downloads are large and the source should not be crawled aggressively.

## `keyValueStoreName` (type: `string`):

Store downloaded files in this named store so they are kept between runs and are not downloaded again. Leave empty to use the run's own store.

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

Optional. The Internet Archive does not need a proxy.

## Actor input object example

```json
{
  "searchTerms": [
    "Night of the Living Dead",
    "His Girl Friday",
    "The General"
  ],
  "source": "internet_archive",
  "maxItems": 20,
  "downloadMedia": false,
  "maxDownloadSizeMB": 500,
  "mediaQuality": "best",
  "maxConcurrency": 2,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# 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 = {
    "searchTerms": [
        "Night of the Living Dead",
        "His Girl Friday",
        "The General"
    ],
    "maxItems": 20,
    "maxDownloadSizeMB": 500
};

// Run the Actor and wait for it to finish
const run = await client.actor("mrdoe/public-domain-movie-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 = {
    "searchTerms": [
        "Night of the Living Dead",
        "His Girl Friday",
        "The General",
    ],
    "maxItems": 20,
    "maxDownloadSizeMB": 500,
}

# Run the Actor and wait for it to finish
run = client.actor("mrdoe/public-domain-movie-downloader").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 '{
  "searchTerms": [
    "Night of the Living Dead",
    "His Girl Friday",
    "The General"
  ],
  "maxItems": 20,
  "maxDownloadSizeMB": 500
}' |
apify call mrdoe/public-domain-movie-downloader --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mrdoe/public-domain-movie-downloader"
        }
    }
}
```

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/7oHInZfQeecbcO4qx/builds/6uP2MVF3gYEji9eDD/openapi.json
