Spotify Lyrics
by RFour · Jul 18, 2026 ·javascript
Gets Spotify lyrics from spotscribe, you can fork turnstile solver by xbotz-launcher on github I think if you don't want to pay for stuff because the turnstile solver I use here is for my projects😓
SpotifyDownloaderLyrics
| 1 | export async function spotifyrics(req, env) { |
| 2 | const { searchParams: sp } = new URL(req.url); |
| 3 | const id = sp.get('id'); |
| 4 | const url = sp.get('url'); |
| 5 | Â |
| 6 | if (!id && !url) return { error: "missing id or url, /spotifyrics?url=https://open.spotify.com/track/0xNXLyQI0oCW0juD7FTrTZ" }; |
| 7 | Â |
| 8 | try { |
| 9 | const trackId = url ? url.split('/track/')[1]?.split('?')[0] : id; |
| 10 | if (!trackId) return { error: "could not extract track id from url" }; |
| 11 | Â |
| 12 | const solverRes = await fetch("https://fuck.netanyahu.my.id", { |
| 13 | method: 'POST', |
| 14 | headers: { 'Content-Type': 'application/json' }, |
| 15 | body: JSON.stringify({ |
| 16 | secret: "-", |
| 17 | type: "turnstile", |
| 18 | websiteURL: "https://spotscribe.io", |
| 19 | websiteKey: "0x4AAAAAACDof4iKvzPFrTnu" |
| 20 | }) |
| 21 | }); |
| 22 | const solverData = await solverRes.json(); |
| 23 | const token = solverData.token; |
| 24 | if (!token) throw new Error("failed to get turnstile token: " + JSON.stringify(solverData)); |
| 25 | Â |
| 26 | const res = await fetch(`https://spotscribe.io/api/spotify/track?id=${trackId}&turnstileToken=${token}`, { |
| 27 | headers: { "Accept": "application/json, text/plain, */*" } |
| 28 | }); |
| 29 | return res.json(); |
| 30 | } catch (err) { |
| 31 | return { error: err.message }; |
| 32 | } |
| 33 | } |