mirror of
https://github.com/MaitreGEEK/audiomack-search-parser
synced 2026-05-13 06:15:07 +02:00
No description
- JavaScript 91.9%
- Dockerfile 8.1%
| .gitignore | ||
| app.js | ||
| Dockerfile | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
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 termlimit(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.