AstraFetch is a 'OBSERVER' for network traffic, It is capable of capturing almost all the things when a page loads, It also comes with pre-made commands to download specific media types, All while being light-weight and powerfull.
- the version before 0.3.0 were all made by myself.
- i was forced to use ai bcuz i lwk forgot how to code
- used ai for extra fetching and ui
-
Universal video detection
- HLS (.m3u8)
- DASH (.mpd)
- Direct media (.mp4, .webm, .mkv)
-
Network-level interception
- Hooks fetch() and XMLHttpRequest
- Works with SPA players and dynamically loaded streams
-
Site-independent design
- No hardcoded domains
- No brittle DOM selectors
-
Command Generator
- yt-dlp command generation
- aria2 integration
-
Browser support
- Firefox
- Zen Browser
- Chromium-based browsers
AstraFetch observers network requests made by the active page:
- Intercepts fetch() and XMLHttpRequest calls
- Identifies media URLs by extension and response patterns
- Classifies streams as HLS, DASH, or direct media
- Displays an in-page popup when a valid stream is detected
- Command for that media is prepared.
Install a userscript manager:
- Violentmonkey (recommended)
- Tampermonkey
Create a new userscript and paste the AstraFetch script, or install directly from GitHub:
https://raw.githubusercontent.com/Celesth/AstraFetch/main/AstraFetch.user.js- Open any website
- The HUD will load in
- AstraFetch Observes Available Request And Hook it.
- Loaded Assets, Will be shown with a tag corresponding to its type.
- Commands will be generated for all links (will make it only for media stuff)
- Run The Command Locally,it'll download it whatever u've wishing for~
yt-dlp
--impersonate Safari-18.4
--add-header "Referer:https://example.com
"
--add-header "Origin:https://example.com
"
--merge-output-format mp4
-o "VideoTitle_%(epoch)s.%(ext)s"
"https://example.com/stream.m3u8"This structure avoids proxy-based filename expansion, includes modern headers, and remains compatible with ffmpeg. If needed allow the usage of cookies for extra impersonation
aria2c -x16 -s16 -k1M
--header="Referer: https://example.com"
"https://example.com/video.mp4"We recommend using yt-dlp/ffmpeg for downloading protected streams, Aria2c is limited to only downloading raw video(media)
- DRM-protected streams (Widevine, PlayReady)
- Encrypted blob URLs without exposed media endpoints (have made bypass for ts, idk if it still works)
- Server-side protected or token-rotated APIs
AstraFetch is a observer, not a DRM bypass tool.
AstraFetch does not download content, bypass DRM, modify server behavior, or inject into video players.
It only exposes media URLs already delivered to the browser.
Users are responsible for complying with applicable laws and website terms.
- @Celesth Under Parhelion