Skip to content

fix(deezer): use internal gw API for playlist fetching#973

Open
alexschfer wants to merge 2 commits into
nathom:devfrom
alexschfer:dev
Open

fix(deezer): use internal gw API for playlist fetching#973
alexschfer wants to merge 2 commits into
nathom:devfrom
alexschfer:dev

Conversation

@alexschfer
Copy link
Copy Markdown

@alexschfer alexschfer commented May 14, 2026

Problem

The public REST API (api.deezer.com) now returns PermissionException (code 200) for playlist requests, making playlist downloads impossible.

Fix

Switching to the internal gw API which uses the ARL cookie already present after login fixes the issue.

Changes:

  • client/deezer.py: switch get_playlist() from api to gw endpoints and normalize the gw response structure in the client layer before passing upstream
  • filepath_utils.py: replace / in filenames and folder names to prevent unwanted subdirectories being created

Tested

Tested with a Deezer playlist, downloads complete successfully.

The public REST API (api.deezer.com) now returns PermissionException
(code 200) for playlist requests, making playlist downloads impossible.
Switching to the internal gw API which uses the ARL cookie already
present after login fixes the issue.

- switch get_playlist() from api to gw endpoints
- normalize gw response structure in client layer before passing upstream
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.

1 participant