mirror of
https://github.com/Mak5er/Downloader-Bot
synced 2026-11-26 17:18:04 +08:00
- Introduced a new `ResilientDownloader` class in `utils/download_manager.py` for improved download handling with support for HTTP range requests, retries, and resumable downloads. - Updated `youtube.py` to replace the previous download logic with the new downloader, enhancing performance and reliability. - Removed the old `download_manager.py` and `http_client.py` services, consolidating functionality into the `utils` directory. - Adjusted download methods to log metrics and handle errors more effectively. - Increased the maximum file size limit for downloads to 1.5 GB to accommodate larger media files. - Improved handling of YouTube streams, including better fallback mechanisms for downloading media. - Updated inline query handling for YouTube Shorts to use the new downloader.
3 lines
52 B
Python
3 lines
52 B
Python
"""Shared utility modules used across handlers."""
|
|
|