Metadata-Version: 2.4
Name: pinchana-soundcloud
Version: 26.11.15
Summary: SoundCloud music downloader for Pinchana
License-Expression: MIT
License-File: LICENSE
Requires-Dist: pinchana-core
Requires-Dist: fastapi>=0.162.2
Requires-Dist: uvicorn>=0.54.0
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 SoundCloud

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

## API

- `POST /scrape` accepts `{"url":"https://soundcloud.com/artist/track"}`.
- `GET /health` reports service and VPN readiness.

Clients normally call the gateway's `POST /v1/scrape` route instead of this internal module directly.

## Development

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

From the parent repository, build with the required shared context:

```sh
docker build --file scrapers/pinchana-soundcloud/Dockerfile --tag pinchana-soundcloud:local .
```

Public tracks can still fail because of deletion, regional restrictions, authentication requirements, or upstream rate limits. Inspect `/health` and the module logs before changing gateway routing.
