Metadata-Version: 2.4
Name: pinchana-deezer
Version: 26.11.15
Summary: Deezer music downloader for Pinchana
License-Expression: MIT
License-File: LICENSE
Requires-Dist: pinchana-core
Requires-Dist: deezer-python>=8.0.0
Requires-Dist: fastapi>=0.162.2
Requires-Dist: uvicorn>=0.54.0
Requires-Dist: ytmusicapi>=1.12.3
Requires-Python: >=3.13
Project-URL: Repository, https://github.com/Pinchana/pinchana-api
Project-URL: Issues, https://github.com/Pinchana/pinchana-api/issues
Description-Content-Type: text/markdown

# Pinchana Deezer

This FastAPI module extracts supported public Deezer tracks and playlists, downloads audio through the configured network path, and stores the result in the shared Pinchana cache.

## API

- `POST /scrape` accepts `{"url":"https://www.deezer.com/track/TRACK_ID"}` and supported Deezer short-link domains.
- `GET /health` reports service and VPN readiness.

Clients normally call the gateway's authenticated `POST /v1/scrape` route rather than this internal service.

## Development

```sh
uv sync --frozen
uv run uvicorn pinchana_deezer.main:app --host 0.0.0.0 --port 8087 --reload
```

```sh
# Run from the repository root.
docker build --file scrapers/pinchana-deezer/Dockerfile --tag pinchana-deezer:local .
```

Public links can still fail because of deletion, regional restrictions, upstream authentication requirements, or rate limits.
