MediaToolsPro v0.2.1
Bug Fix
YouTube format listing failed with cookies
Problem: When a cookies.txt file was imported, listing formats for some YouTube videos still failed with:
ERROR: [youtube] VIDEO_ID: This video is not available
Cause: The app unconditionally forced --extractor-args youtube:player_client=android_vr for every YouTube URL. That client bypasses PO-Token 403 errors on public videos, but it cannot access private, age-restricted, members-only, or region-blocked content that requires an authenticated session.
Fix: The extractor client fallback is now applied only when NO cookies are present:
- If you have a valid
cookies.txt→ the default YouTube extractor is used with your session (handles authenticated content correctly). - If you have NO cookies →
android_vris used as a fallback to avoid 403 errors on public videos.
Both list_formats and start_download now share this conditional logic.
Files changed
src-tauri/src/ytdlp.rs