[GH-ISSUE #448] Cyrillic (and perhaps other languages) artist name support #262

Closed
opened 2026-02-27 23:21:41 +03:00 by kerem · 0 comments
Owner

Originally created by @IvanI3 on GitHub (Mar 2, 2020).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/448

Please, make the option to add Accept-Language HTTP header to Web-API calls. May be smth like this in the code client.py:

import os

def _internal_call(...)
...
if "LANG" in os.environ:
headers["Accept-Language"] = os.environ["LANG"][:2]

Without setting Accept language for http calls, cyrillic artist name like 'Несчастный случай' returned from Spotify as 'Neschastny Sluchai' what is annoying :(

Originally created by @IvanI3 on GitHub (Mar 2, 2020). Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/448 Please, make the option to add Accept-Language HTTP header to Web-API calls. May be smth like this in the code client.py: import os def _internal_call(...) ... if "LANG" in os.environ: headers["Accept-Language"] = os.environ["LANG"][:2] Without setting Accept language for http calls, cyrillic artist name like 'Несчастный случай' returned from Spotify as 'Neschastny Sluchai' what is annoying :(
kerem 2026-02-27 23:21:41 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotipy#262
No description provided.