Skip to content

[Feature]: Support per-request http_headers (e.g. Referer) (not only global YTDL_OPTIONS) #902

@Zalatis

Description

@Zalatis

Prerequisites

  • I have searched existing issues and discussions to ensure this feature hasn't been requested before
  • I have read the feature request guidelines in the README
  • I understand that MeTube development relies on community contributions and the maintainer is not likely to implement this feature
  • I have considered if this feature should be implemented in yt-dlp instead of MeTube (if so, please report to yt-dlp repository)

Feature Description

Hello, and thanks for all your great work.

Could you add support for passing http_headers (mainly Referer) per request (e.g., via the /add payload / UI), not only via global YTDL_OPTIONS?

As an alternative, a simple boolean like use_auto_referer=true could automatically derive the referer from the requested URL’s domain and pass it to yt-dlp.

Implementation Plan

None

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions