你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/557786-streamsaver-video-sniffer,源站連結 點此以跳轉

通用视频嗅探器

专为安卓大文件设计:使用 StreamSaver 代理流式下载,几乎不占内存,支持 M3U8 转 MP4。



點此查看下載連結位址https://update.greasyfork.org.cn/scripts/557786/StreamSaver%20Video%20Sniffer.user.js

安装此脚本?
作者
Jw-23
日安装量
5
总安装量
118
评分
0 0 0
版本
23.5
创建于
2025-12-03
更新于
2025-12-04
大小
19.5 KB
许可证
MIT
适用于
所有网站

StreamSaver Video Sniffer - User Manual

📖 Introduction

This Userscript is a high-performance video downloader designed for Android (Kiwi Browser) and PC (Chrome/Edge). Unlike traditional downloaders that store the entire video in RAM (causing crashes with large files), this script uses StreamSaver.js. It creates a virtual download stream, writing data directly to your device's storage in real-time.


🛠️ Prerequisites

  1. Browser:
    • PC: Google Chrome, Microsoft Edge.
    • Android: Kiwi Browser (Recommended) or Firefox Nightly.
    • ❌ iOS (iPhone/iPad) is NOT supported due to Apple's system restrictions.
  2. Extension: Tampermonkey or Violentmonkey.
  3. Network: A stable internet connection is required (pausing is not supported).

🚀 How to Use

  1. Install: Create a new script in Tampermonkey and paste the provided code.
  2. Browse: Open a video website (must be HTTPS) and play a video.
  3. Sniff: A floating button (⚡) or a panel will appear on the right side of the screen when a video link (M3U8 or MP4) is detected.
  4. Download:
    • Click the "Stream Download" button.
    • Important: You will see a download starting from jimmywarting.github.io or streamsaver.mitm. This is normal. It is the bridge allowing the browser to save files directly to your disk.
  5. Finish:
    • The button will show the percentage (e.g., "15%").
    • Wait until the text changes to "Done". The file will appear in your default "Downloads" folder.

⚠️ Important Limitations

  • DO NOT use Incognito/Private Mode: The script requires access to a Service Worker to handle the stream. Incognito mode blocks this, causing the download to fail.
  • HTTPS Only: The script only works on secure (HTTPS) websites.
  • Do Not Close the Tab: You must keep the video page open while downloading. Closing it will kill the process.
  • Android Storage: On Android, the file is written to the system's "Downloads" folder. Due to the streaming nature, the "Total Size" might appear unknown until finished.

❓ FAQ

Q: Why does the download show it's coming from github.io? A: This is the "Man-in-the-Middle" (MITM) technique. Since the script cannot register a Service Worker on the video site directly (due to security rules), it uses a proxy page to handle the file saving. Your data is safe; it just passes through locally.

Q: Why doesn't it work on iPhone? A: Apple's Safari (WebKit) blocks the Service Worker technologies required for this specific method.