GET /api/scp| Parameter | Required | Description | Example |
|---|---|---|---|
domain | Yes | Target website identifier | tcai, ieeeAi, digJapan, japanGuide |
type | Yes | Request type: list (article list) or content (article content) | list, content |
url | Only for type=content | URL of the article to scrape | https://techcrunch.com/... |
| 目標站名 | API 示例 |
|---|---|
| TechCrunch AI |
|
| IEEE AI |
|
| DigJapan |
|
| Japan Guide |
|
POST /api/yt-to-mp3| Parameter | Required | Description | Example |
|---|---|---|---|
url | Yes | YouTube video URL | https://youtube.com/watch?v=... |
returnType | No | Response type: text (transcript) or file (MP3 file path) | text, file |
fetch("/api/yt-to-mp3", {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
url: "https://youtube.com/watch?v=example",
returnType: "text"
})
}){}{}