No description
  • JavaScript 91.9%
  • Dockerfile 8.1%
Find a file
2025-08-04 17:52:41 +02:00
.gitignore feat: Add code 2025-06-22 19:59:56 +02:00
app.js Update app.js 2025-08-04 17:52:41 +02:00
Dockerfile Update Dockerfile 2025-08-04 17:29:36 +02:00
LICENSE Initial commit 2025-06-22 19:47:52 +02:00
package.json feat: Add code 2025-06-22 19:59:56 +02:00
README.md Update README.md 2025-06-22 20:01:24 +02:00

audiomack-search-parser

Simple API to scrape and parse Audiomack search results using Playwright

Usage

Send a GET request to /search with query parameters:

  • query (string, required): search term
  • limit (number, optional): max results (default: 20)

Add Authorization: Bearer <token> header if API_TOKEN is set.

Example

GET /search?query=Aya Nakamura&limit=10
Authorization: Bearer your_token_here

Deploying

To deploy:

npm install

then

npx playwright install firefox

And to start:

node app.js

Default port is 3000 (configurable via PORT environment variable). If you want token protection, set API_TOKEN environment variable.