github mhdzumair/mediaflow-proxy 2.4.9

7 hours ago

🚀 MediaFlow 2.4.9 Released

This release introduces a powerful forward proxy for debrid services, a complete overhaul of the Maxstream bypass pipeline, and critical fixes for HLS streaming stability.

✨ New Features & Enhancements

  • 🌐 New Forward Proxy Endpoints: Added /proxy/forward and /proxy/ip. This allows debrid API calls to originate from MediaFlow's IP, solving "IP binding" issues. Includes SSRF protection, header stripping, and {mediaflow_ip} placeholder substitution.
  • 🔓 Advanced Maxstream (uprot.net) Bypass: A total rewrite of the Maxstream extractor to support Italian aggregators (CB01, EuroStreaming). It now features a multi-engine OCR ensemble (ddddocr, Tesseract, and opt-in Cloudflare Workers AI) to solve captchas with up to 90% accuracy.
  • 📺 New Extractor: Added support for StreamHG (@UrloMythus).
  • 🤖 OCR Ensemble: New optional [maxstream] extra for better captcha solving, including a lazy-loaded persistent URL cache to skip captchas entirely on known links.

🛠️ Bug Fixes

  • 🎞️ HLS Multi-Period Trimming: Fixed a critical issue where multi-period MPDs caused stalls and sequence gaps in HLS players. Segments are now correctly merged and trimmed across period boundaries.
  • Transcode HEAD Request Fix: Resolved 404 errors when upstreams (like AIOStreams) return 405 Method Not Allowed on HEAD requests. The system now correctly falls back to a Range GET to determine file size.
  • 🔐 Filemoon Decryption: Replaced the broken JS evaluation with a robust API-based AES-256-GCM decryption method (@newman2x).
  • 🔄 Doodstream Improvements: Added detection for JS-based redirects and optimized Cloudflare R2 storage shortcuts to bypass unnecessary token suffixing.
  • 📡 HLS Transport Routes: Fixed handle_hls_stream_proxy to properly honor TRANSPORT_ROUTES configurations (@spawntty).
  • 🔍 F16Px & Embeds: Updated F16Px extractor and improved embed ID extraction and request headers (@GLlgGL).

📖 Documentation Updates

  • ☁️ Managed Deployment: Added ElfHosted as a standardized managed deployment option in the README (@funkypenguin).
  • 📚 Forward Proxy Guide: Added comprehensive documentation for /proxy/forward usage, configuration, and environment variables (PUBLIC_IP, FORWARD_ALLOWED_HOSTS, etc.).

🤝 Contributors

A huge thank you to our contributors for this release:
@GLlgGL, @funkypenguin, @newman2x, @Pieropapamonello, @spawntty, @UrloMythus, and @mhdzumair.

📄 Full Changelog

For a detailed list of all changes, visit the Full Comparison

Don't miss a new mediaflow-proxy release

NewReleases is sending notifications on new releases.