76 Commits

Author SHA1 Message Date
mhdzumair b7d009e7c3 Improve error handling and buffering in m3u8 processing 2025-04-23 22:23:34 +05:30
mhdzumair 86c8ee1159 Enhance m3u8 handling with on-the-fly processing and retries with configurable timeout
Add on-the-fly processing for m3u8 content with streaming support, improving HLS playlist handling. Introduce retry mechanism for HTTP streaming requests and configurable timeout via transport settings. Refactor and optimize URL parsing, error handling, and response generation for better robustness and maintainability.
2025-04-23 08:00:39 +05:30
mhdzumair c26360b5e8 Fmt & update docs 2025-01-25 17:59:48 +05:30
Urlo30 402baa1167 Add files via upload 2025-01-24 19:38:11 +01:00
Urlo30 c8942e109a Add Mixdrop, Maxstream, okru . Vixcloud fix 2025-01-24 19:37:42 +01:00
Urlo30 333f3bbab0 Add files via upload 2025-01-23 18:36:24 +01:00
mhdzumair 3c79e2ec14 Fix Vixcloud extractor endpoint to hls proxy. 2025-01-15 23:02:29 +05:30
mhdzumair d53f043dff Handle parsing logic in Vixcloud extractor and clean up code. 2025-01-15 21:41:20 +05:30
Urlo30 3fb7d60550 Merge branch 'mhdzumair:main' into main 2024-12-23 14:00:50 +01:00
Urlo30 ea70c73aa0 Add files via upload 2024-12-23 12:24:15 +01:00
mhdzumair 779e01a57f Make API_PASSWORD optional for app that uses mediaflow as lib package
Updated `api_password` to be optional in configurations and logic, allowing API access to function without it if not set. Adjusted related checks and encryption handling to accommodate this change while maintaining security features when a password is provided. Updated README to reflect the change.
2024-12-11 15:15:35 +05:30
Urlo30 67beef6c44 Modified Schema to include new extractors 2024-12-10 12:36:07 +01:00
Urlo30 4009b39247 Added New Extractors: Supervideo,Streamtape
Added New Extractors:
- Stremtape: IP-Locked
- Supervideo: No limitations
2024-12-10 12:35:33 +01:00
mhdzumair c3e3817651 Add support for In-Memory only caching for small ttl data to fix MPD cache streaming & Remove unnecessary cache stats tracking 2024-12-07 08:07:54 +05:30
mhdzumair 78cee28128 Add Support for Python 3.9 (downgrade support) 2024-12-07 08:05:10 +05:30
mhdzumair f47b460d9a Fix proxy stream on unsupported HEAD server & remove redundant server requests for getting headers. 2024-12-06 22:31:29 +05:30
mhdzumair 1fce641d5f Refactor query params handling in extractor route with API Password 2024-11-17 20:59:39 +05:30
mhdzumair 76e7aec391 Update referer header handling in Uqload 2024-11-17 20:59:09 +05:30
mhdzumair 641fd17be8 Fix request header not passed on cached extractor response & support HEAD method to video endpoint 2024-11-17 20:18:46 +05:30
mhdzumair 3f7a1c47a0 Improve error logging and response for request processing 2024-11-17 18:51:27 +05:30
mhdzumair 95843cc3c9 Implement LiveTVExtractor and improve error handling
Added LiveTVExtractor for extracting M3U8 and MPD streams. Enhanced error handling by introducing ExtractorError and updated existing extractors to use this new error class. Removed support for unused request headers and integrated caching for extractor results.
2024-11-17 18:28:52 +05:30
mhdzumair 57a4202605 Set default factory for optional dictionary fields in GenerateUrlRequest parameter 2024-11-16 11:11:27 +05:30
mhdzumair bcf22d223c Handle MPD download errors and provide same status code on response 2024-11-16 11:01:31 +05:30
mhdzumair 035ae1a4c7 Refactor proxy configuration to support advanced transport settings
Changed the proxy configuration system to a more flexible transport configuration using HTTPX routing. Introduced new settings for global proxy enablement and robust pattern-based proxy and SSL configurations. Updated README.md with new examples and detailed explanations of the new configurations.
2024-11-16 10:40:06 +05:30
mhdzumair f9bda43c0d Add Advanced proxy routing via environment variables & refactoring 2024-11-15 23:15:20 +05:30
Mohamed Zumair ff110e1f48 Add retry logic and error handling to speed test results polling & cleanup #24 2024-11-15 18:36:45 +05:30
mhdzumair 858438707d Update headers to consistent lowercase format to fix duplicate headers 2024-11-14 19:43:56 +05:30
mhdzumair 0424d2bd77 Add hybrid caching system for better performance & fix limitation on multi workers
Replaced TTLCache with an optimized hybrid cache combining memory and file storage for better performance and scalability. Removed cachetools dependency and updated pyproject.toml to include aiofiles. Adjusted speed test service to use the new caching mechanism.
2024-11-14 19:41:16 +05:30
Arshit-Singhal-Official 2bca18a5f1 Fix retry logic condition in pollResults function 2024-11-13 21:40:51 +05:30
Arshit-Singhal-Official abd162813a Add retries to pollResults function to handle fetching errors 2024-11-13 21:24:35 +05:30
Arshit-Singhal-Official b253ae9527 Removed rd_speedtest.py as it is no longer needed. 2024-11-13 21:21:25 +05:30
mhdzumair 81ebf369b9 Add request & response proxy for extractors 2024-11-12 08:14:32 +05:30
mhdzumair 64eeb8f901 Add AD speed test & improve speed test UI & refactoring 2024-11-12 07:09:42 +05:30
mhdzumair 4b4f6af536 Merge remote-tracking branch 'origin/develop' into develop
# Conflicts:
#	mediaflow_proxy/extractors/uqload.py
#	mediaflow_proxy/extractors_routes.py
2024-11-10 21:41:51 +05:30
mhdzumair 29348f5fa5 Refactor extractors and routes for improved structure
Reorganized extractor routes into dedicated modules for better maintainability. Introduced a base class for extractors, enabling consistent request handling across different services. Additionally, updated configurations and error handling in extractors, enhancing code readability and robustness.
2024-11-10 21:40:54 +05:30
Mohamed Zumair abbeaee0d0 Apply suggestions from code review
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-11-10 08:04:05 +05:30
Mohamed Zumair 3057a009d7 Merge pull request #19 from Arshit-Singhal-Official/main
Made changes to speedtest endpoint to use the Streamer class
2024-11-10 05:36:07 +05:30
Arshit-Singhal-Official a5ce7e9919 made changes to speedtest endpoint to use the Streamer class 2024-11-01 17:17:33 +00:00
Mohamed Zumair 64f8945609 Merge pull request #10 from UrloMythus/main
Add support for extracting clean links from IP-Locked / Cloudfare-Blocked Players
2024-11-01 08:15:10 +05:30
Arshit-Singhal-Official 7836a85f5f Implement Real-Debrid speedtest functionality to optimize CDN selection 2024-10-25 17:41:37 +00:00
Urlo30 73c9858c2c Update uqload.py 2024-10-19 21:27:47 +02:00
Urlo30 3a29997556 Update mixdrop.py 2024-10-19 21:27:39 +02:00
Urlo30 c930c7466a Update doodstream.py 2024-10-19 21:27:26 +02:00
Urlo30 7c19ab8fb8 Update extractors_routes.py 2024-10-19 21:27:05 +02:00
Urlo30 5d4d52b084 Update main.py 2024-10-19 21:26:52 +02:00
Urlo30 ecd8612ba7 Delete mediaflow_proxy/extractors/__pycache__/uqload.cpython-311.pyc 2024-10-19 19:14:36 +02:00
Urlo30 855da7d610 Delete mediaflow_proxy/extractors/__pycache__/mixdrop.cpython-311.pyc 2024-10-19 19:14:26 +02:00
Urlo30 d743872797 Delete mediaflow_proxy/extractors/__pycache__/doodstream.cpython-311.pyc 2024-10-19 19:14:15 +02:00
Urlo30 2fe5c71dec Add files via upload 2024-10-15 21:58:50 +02:00
mhdzumair 3ca55c5f66 Enhance streaming functionality and progress tracking 2024-10-13 16:35:31 +05:30