mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-04-15 05:09:55 +00:00
- Currently, the locale header is statically set to “de”, regardless of which locale is set in the URL parameters. - Therefore, all retrieved metadata (description, names, etc.) were in German. - This PR implements a mechanism that extracts the locale value from the specified URL. - As a fallback, URLs without locale parameters are automatically set to de, which corresponds to the original behavior. Advantages: All metadata is retrieved in the specified language.