• v2.0.0 c49e080d41

    smolkik_adm released this 2026-02-19 03:16:14 +00:00 | 1 commits to main since this release

    New Features

    Auto-download for TikTok & Instagram
    Send a link → get video (1080p) + audio (MP3 192kbps) immediately — no buttons, no delays
    Universal Telegram-safe conversion
    All videos (YouTube/VK/TikTok/Instagram) are automatically converted to mp4 + h264 + aac
    → Fixes "square video" on iOS, ensures compatibility in Telegram chat
    Smart file detection
    Automatically detects .mov, .webm, .mkv, or files without extensions → converts to mp4
    Quality presets for YouTube/VK
    Choice of 480p, 720p, 1080p, or audio extraction (MP3)
    🔧 Bug Fixes

    Fixed NameError: 'cache_key' is not defined
    Fixed No such file or directory when yt-dlp returns files without .mp4 extension
    Fixed optimize_for_telegram async/sync mismatch
    Added fallbacks for missing extensions (``, .mp4, .mov, .webm, .mkv)
    Ensured even dimensions (scale=trunc(iw/2)*2) for Telegram compatibility
    📦 Technical Improvements

    Replaced async await inside defs with synchronous calls
    Added optimize_for_telegram_audio() helper
    Optimized all downloads: download → find actual file → convert to Telegram-safe mp4/m3
    🌐 Infrastructure

    WireGuard support remains (for countries with blocked social networks)
    Supports cookies from --cookies-from-browser for Instagram/TikTok
    All downloads go through FFmpeg optimization before caching
    🔗 How to upgrade

    Pull the latest main
    Update config.py with your cookies and settings
    Rebuild: docker-compose up --build
    ⚠️ Requirements

    ffmpeg must be installed in the container (already included in Dockerfile)
    COOKIES_FILE must be set for TikTok/Instagram support

    Downloads