You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Intercept live player media streams (IDM-style network sniffing) instead of re-parsing page URL #27
[Feature / Architecture Idea] Intercept live player media streams (IDM-style network sniffing) instead of re-parsing the page URL
Hi! Thanks again for your awesome work on this download manager.
I'd like to share a technical suggestion regarding how the browser extension captures streaming media (especially on sites like YouTube):
The current issue with URL re-parsing:
Right now, when clicking the download button in the extension, the app/parser makes a separate request to fetch video formats from the page URL. On YouTube, repeated external parser requests tied to a logged-in Google account session often trigger shadow throttling / bot detection — resulting in YouTube blocking 1080p/4K DASH streams and returning only the legacy 360p progressive stream (until browser cookies are cleared).
The IDM-style solution (live stream sniffing):
Instead of re-parsing the webpage from scratch, the browser extension (especially in Firefox via webRequest or in Chromium via webRequest passive listeners) can passively monitor the actual media segment/manifest requests (googlevideo.com, .m3u8, .mpd) that the web player already legitimately requested and authenticated while playing the video.
Passing those live, already-authorized video & audio stream URLs directly to the desktop client for downloading and FFmpeg merging would:
Completely avoid YouTube's 360p parser throttling on logged-in accounts.
Allow instant detection of separate video and audio tracks right in the browser popup.
Work seamlessly even on videos requiring login/age verification without risky cookie extraction.
Hope this architectural idea helps make the media capture rock-solid!
Use passive (non-blocking) webRequest listeners in the browser extension to stay compatible with both Firefox and Chromium Manifest V3.
Capture and deduplicate live media manifests/streams (.m3u8, .mpd, googlevideo.com video/audio tracks) per tab ID and clear cached entries on tab navigation/close.
Forward captured stream URLs along with required request headers (Referer, User-Agent, Cookie if needed) to the desktop app for direct download or FFmpeg muxing.
Acceptance Criteria
Extension passively detects active video/audio streams per tab without triggering extra page re-parse requests.
Detected streams (separate video/audio or HLS/DASH manifests) appear in the extension popup with resolution/format metadata.
Forwarding live streams to the desktop client downloads and merges audio+video cleanly via FFmpeg.
Works on authenticated/age-restricted sessions without triggering parser throttling.
Live player media stream detection (HLS .m3u8, DASH .mpd, and direct streams with page referrer/header forwarding) shipped in v1.0.1.
We have moved the official store publishing discussion (Chrome Web Store & Mozilla Add-ons AMO) over to #44 so it can be tracked independently. Closing this issue as completed.
Thanks for the quick update! However, the extensions are still not published on the official stores (neither Mozilla Add-ons AMO nor the Chrome Web Store), so users still have to load them manually via developer mode / about:debugging (which resets on reboot in standard Firefox and triggers developer mode warnings in Chromium browsers).
Publishing the extensions directly to both the official Mozilla Add-ons store and Chrome Web Store (so the installer/app can simply open the store pages for a proper 1-click install) is really the only clean way for everyday users. Just wanted to let you know!
Live player media stream detection (HLS .m3u8, DASH .mpd, and direct streams with page referrer/header forwarding) shipped in v1.0.1.
We have moved the official store publishing discussion (Chrome Web Store & Mozilla Add-ons AMO) over to #44 so it can be tracked independently. Closing this issue as completed.
Activity
Wind092 commentedon Nov 21, 2026
Thanks for the quick update! However, the extensions are still not published on the official stores (neither Mozilla Add-ons AMO nor the Chrome Web Store), so users still have to load them manually via developer mode / about:debugging (which resets on reboot in standard Firefox and triggers developer mode warnings in Chromium browsers).
Publishing the extensions directly to both the official Mozilla Add-ons store and Chrome Web Store (so the installer/app can simply open the store pages for a proper 1-click install) is really the only clean way for everyday users. Just wanted to let you know!
iemirakman commentedon Nov 21, 2026
Thanks @Wind092!
Live player media stream detection (HLS
.m3u8, DASH.mpd, and direct streams with page referrer/header forwarding) shipped in v1.0.1.We have moved the official store publishing discussion (Chrome Web Store & Mozilla Add-ons AMO) over to #44 so it can be tracked independently. Closing this issue as completed.