Cat Catch: A Browser Extension for Sniffing and Downloading Web Video (M3U8 Included)

•980 words•5 min read•
video-downloaderbrowser-extensionM3U8software
The Cat Catch browser extension

For years I used Downie to download videos from websites. I even paid for a membership and used it for a long time. The results were middling: sometimes it worked, sometimes it did not. Recently, for whatever reason, it keeps failing to detect resources, and even when it does detect them, it gets stuck on the download screen.

Then I discovered Cat Catch. After using it for a while, the experience has been excellent. In one sentence: free, easy to use, and powerful.

Open source that beats the paid competition hands down.

Cat Catch's sniffing is very capable. After installing the extension, I tried it on several video sites I visit regularly, and it located the resource links with great precision almost every time, whether m3u8 or mp4. Compare that with Downie, which on some sites dumps a pile of m3u8 links with no indication of which one is the actual resource.

Cat Catch interface 1

Features

The core feature set: sniffing, merging, and downloading.

  • Automatically sniffs video resources on a page. Just open the page and it starts working. No action required.
  • Automatically merges .ts segments into a complete MP4 file. This is a real convenience. Many video sites use the m3u8 format, which consists of multiple .ts slices. Previously you had to run a script, such as ffmpeg, to merge them after downloading. Now Cat Catch does it for you. Great products really do sweat the details.
  • After a resource is downloaded, you can play it in the extension or save it locally.

As for the name "Cat Catch," I wonder why the author did not call it "Cat Sniff" instead. Sniffing is the entry point of the extension and its primary job, after all. 😃

Installation

Several official channels are available:

If you want to add your own features, or build and install it yourself, fork the official open-source repository at https://github.com/xifangczy/cat-catch and customize it however you like.

Usage

Sniffing

After installation, no action is needed. Open a page with an online video and Cat Catch starts working. It works by intercepting network requests and analyzing resource links against a set of rules.

Cat Catch interface 2

The supported formats are comprehensive: m3u8, mp4, flv, avi, mkv, mov, wmv, webm, and more, which covers essentially all mainstream formats. It can also sniff audio and images, not just video.

Downloading Resources

  1. Open the extension on the video playback page. You will see a list of resource links.
  2. Find the M3U8 or MP4 link and click to download.
  3. Once the download finishes, the .ts segments are merged into a complete MP4 file automatically.
Cat Catch download screen

You can also play the video during the download. It plays the .ts segments that have already been downloaded, and the result looks identical to the original.

Downloads are multi-threaded, with 6 threads by default, and you can add more if you like. In my testing the download speed was very fast and saturated the bandwidth at off-peak times.

After downloading, you can keep working with the video, for example converting the .ts file to MP4 or merging audio and video (some sites serve them separately, so they need to be merged after download). Under the hood these operations call ffmpeg. The author provides a web-based interface for them, with a rather geeky design.

Of course, if you prefer the command line, calling ffmpeg from a terminal works just as well.

Advanced Usage

Cat Catch captures media with three techniques: network interception, DOM detection, and API hooking. Naturally, interception and detection depend on rules.

Rule Matching

In the settings you can customize the extension and type-matching rules, which tell the extension which links are target resources. The default rules include audio/* and video/*, which developers at legitimate sites tend to use in their resource paths anyway.

If that is not enough, the extension also offers a DIY rule mode: regular expressions. The prerequisite, of course, is that you know the general format of the target link so you can write a suitable regex. For example, if a site's resource URLs look like vdurl=2372973279, the rule would be (vdurl=\d+). Once you add the regex, the extension matches the corresponding network requests while sniffing.

Deep Search / Cache Capture

Some sites hide their resources quite well. If standard mode comes up empty, try deep search mode. Cat Catch will try to hook key functions and analyze hidden M3U8 or MPD (DASH) files in the page to see whether an m3u8 link can be found.

If that still does not work and you really want the resource from that site, cache capture may help. The idea is to let the video finish buffering first, then extract the resource from the cache. The downside is that you have to wait for the video to buffer fully. The good news is that you can play at a higher speed or drag the progress bar, and the cache completes as soon as the video finishes.

Data Transfer

Most users will never need this, but home theater DIY enthusiasts will love it.

One very useful scenario is pushing resource metadata (name, size, link, and so on) to your own server, where a background job classifies, downloads, and organizes the resources for you.

Combined with the recent surge of interest in AI and MCP, there is plenty more to explore.

For more advanced features, see the official documentation, which is well written.

Share: