Skip to content
millxingPublic

About

Mac app and browser extension that download video and audio from web pages with yt-dlp. Signed by the developer and notarized by Apple.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

FrameDL

A Mac app that downloads video and audio from web pages, with a browser extension that sends the current page to the app in one click.

FrameDL is a window on top of yt-dlp. It includes yt-dlp, ffmpeg and deno, so there is nothing else to install.

Features

  • Download a video (MP4) or audio only (MP3) from a page address or a playlist.
  • Get a separate transcript text file for each captioned video in a playlist or for a single video, with a time stamp at the start of each paragraph. See Transcripts.
  • Queue with three downloads at a time. Items that are not complete start again at the next launch.
  • Downloads continue when the window is closed. A notification shows the result.
  • Option to prefer H.264 video, which plays immediately in QuickTime.
  • The app checks for a new yt-dlp each day. Click the yellow version badge to install it, or use the Settings tab.
  • The queue shows video titles.
  • Browser extension for Brave and Chrome.

Requirements

  • A Mac with Apple Silicon.
  • macOS 11 or later.

Install the app

  1. Open the FrameDL-<version>-arm64.dmg installer.
  2. Move FrameDL to the Applications folder.
  3. Open FrameDL.

The installer is signed with a Developer ID and notarized by Apple.

Install the browser extension

The extension is not in the Chrome Web Store. Load it from a folder:

  1. Unzip FrameDL-extension.zip to a permanent location. The browser reads this folder at each start.
  2. Open brave://extensions or chrome://extensions.
  3. Set Developer mode to on.
  4. Click Load unpacked and select the extension folder.
  5. Pin the FrameDL icon to the toolbar.

Use the extension

  • Click the icon: download the video on the current page.
  • Right-click the icon > Download audio only (MP3): download the audio.
  • Right-click the icon > Get transcript (text): make a transcript of the video.

The first click shows a browser prompt to open FrameDL. Later clicks have no prompt while FrameDL is running.

On a "video in a playlist" address, the extension downloads only that video. On a playlist page, it downloads the full playlist.

Transcripts

The transcript comes from the captions of the video. FrameDL does not download the video and does not do speech recognition.

  • FrameDL uses captions that people wrote before automatic captions.
  • It uses the spoken language of the video. If that language is not available, it uses English.
  • YouTube makes automatic captions for most videos. Other sites must have captions in the video page.
  • The text file has the same name as the video file would have, with the .txt extension. The first lines give the title, the address and the caption language.
  • To get playlist transcripts, paste the playlist page address and select Transcript. FrameDL queues each video and adds its playlist position to the start of its file name. History shows the result for each video. A missing caption track does not stop the other videos.

If a video has no captions, the result is "This video has no captions." For these videos, download the audio (MP3) and open it in a speech-to-text app, for example MacWhisper.

How the extension talks to the app

  • App is running: the extension sends the page address to a local server in the app (127.0.0.1, ports 47631 to 47635).
  • App is not running, or the first click: the extension opens a framedl:// link, and macOS starts the app.

The server accepts requests only from browser extensions, and only with a token that the app got from a framedl:// link. Each macOS user account thus sends its downloads to its own copy of FrameDL.

Build from source

npm install
bash scripts/fetch-binaries.sh   # downloads yt-dlp, ffmpeg, ffprobe and deno to bin/
npm start                        # run in development

To make a signed and notarized installer:

npm run release                  # installer and extension zip in dist/
npm run release -- --install     # also replace /Applications/FrameDL.app

The release script needs a "Developer ID Application" certificate in the login keychain and a notarytool keychain profile. Change IDENTITY and PROFILE at the top of scripts/release.sh to your values.

Limits

  • yt-dlp does not support all sites, and it cannot download video that has DRM.
  • Sites change frequently. If downloads fail, update yt-dlp first.
  • Security software that protects the Downloads folder can block yt-dlp. Allow FrameDL in that software.

Legal

Download only content that you have the right to download. You are responsible for how you use this software.

License

MIT. See LICENSE.

yt-dlp, ffmpeg and deno are separate projects with their own licenses.

About

Mac app and browser extension that download video and audio from web pages with yt-dlp. Signed by the developer and notarized by Apple.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages