Skip to content

Conversation

@FlyingFathead
Copy link
Owner

  • v0.1716 - NEW: Configurable per-domain yt-dlp arguments
    • Added new [YTDLPSettings] config options:
      • use_special_commands_for_domains = true (set to true to enable)
      • special_domain_commands = ... (multiline string)
    • Lets you specify domain-specific yt-dlp arguments (e.g., --http-chunk-size 0 --downloader native) for problematic sites like Rumble, BitChute, Odysee, etc.
    • (list can be expanded by the user in config.ini as needed)
    • This approach solves repeated “Separator not found” or TCP/SSL connection errors by applying fallback flags/headers strictly to domains known to need them—without affecting other sites or default performance.
    • Example snippet in config.ini:
      # YTDLPSettings
      use_special_commands_for_domains = true
      
      special_domain_commands =
          rumble.com | --http-chunk-size 0 --downloader native --add-header "User-Agent:Mozilla/5.0 (Windows NT 10.0; Win64; x64)"
          bitchute.com | --http-chunk-size 0 --format worstaudio/worst --downloader native
          odysee.com | --http-chunk-size 0 --downloader native
    • The bot automatically detects if the domain portion of the URL matches your special_domain_commands and injects those extra yt-dlp flags into the download process, eliminating chunking/SSL issues specific to that site.

@FlyingFathead FlyingFathead merged commit 90b26ab into main May 7, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants