Commit Graph
1 Commits
Author SHA1 Message Date
v3DJG6GLandGitHub 6160d2b6b5 playsuisse.py: handle locale parameters from URLs
- 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.
2025-02-24 01:53:19 +01:00