Facebook Video Transcript Extractor avatar
Facebook Video Transcript Extractor

Pricing

$2.00 / 1,000 results

Go to Store
Facebook Video Transcript Extractor

Facebook Video Transcript Extractor

Developed by

ius iyb

Maintained by Community

Extract transcripts from Facebook video

0.0 (0)

Pricing

$2.00 / 1,000 results

0

Monthly users

6

Runs succeeded

>99%

Last modified

12 days ago

This Actor extracts transcripts from Facebook video pages. It's designed to help you obtain text transcripts from videos posted on Facebook's platform.

Features

  • Extracts transcript data from Facebook video pages
  • Handles proper request headers to mimic a real browser
  • Provides detailed error reporting
  • Works with Apify proxy to avoid IP blocks and rate limiting
  • Simple configuration through INPUT_SCHEMA

Usage

Input Configuration

The Actor accepts the following input parameters:

FieldTypeDescription
urlStringRequired URL of the Facebook video page from which to extract the transcript
proxyConfigurationObjectOptional proxy settings to route requests through

Example input:

1{
2  "url": "https://web.facebook.com/briantylercohen/videos/1350752639547526",
3  "proxyConfiguration": {
4    "useApifyProxy": true
5  }
6}

Running the Actor

  1. Apify Platform: The easiest way to run the Actor is through the Apify platform. Just search for "Facebook Video Transcript Extractor" in the Apify Store.

  2. Command Line (via Apify CLI):

    apify run -p
  3. API: You can also run the Actor programmatically via the Apify API.

Output

The Actor saves extracted transcripts to the default dataset. Each item in the dataset has the following structure:

1{
2  "url": "https://web.facebook.com/briantylercohen/videos/1350752639547526",
3  "transcript": "This is the extracted transcript text...",
4}

In case of errors or if no transcript is found, the output will look like:

1{
2  "url": "https://web.facebook.com/briantylercohen/videos/1350752639547526",
3  "transcript": null,
4  "error": "Error message or 'No transcript found in the page'"
5}

Limitations

  • This Actor relies on the current structure of Facebook's video pages. If Facebook changes their page structure or how transcripts are embedded, the Actor may need to be updated.
  • Facebook may rate-limit or block requests that appear automated. Using the Apify proxy helps mitigate this issue.
  • Not all Facebook videos have transcripts available.

Technical Details

The Actor performs the following steps:

  1. Takes the input URL and configures the HTTP request with browser-like headers
  2. Fetches the HTML content of the Facebook video page
  3. Parses the page to locate script tags containing transcript data
  4. Extracts the transcript using a regex pattern
  5. Saves the results to the Apify dataset

Dependencies

  • axios: For making HTTP requests
  • jsdom: For parsing and traversing the HTML
  • apify: The Apify SDK for integrating with the Apify platform

License

This project is licensed under the Apache License 2.0.

Variation 1: Standard & Clean alt text

Variation 2: Minimalist Flat alt text

Variation 3: Vector Illustration Style alt text

Variation 4: Specific Colors (Hex Codes) alt text

T


Pricing

Pricing model

Pay per result 

This Actor is paid per result. You are not charged for the Apify platform usage, but only a fixed price for each dataset of 1,000 items in the Actor outputs.

Price per 1,000 items

$2.00