Răsfoiți Sursa

What can I fucking say. Let's see whether the lyrics' source will last long enough until this project dies.
I dont even feel sorry. I'm fucking angry. He dropped the support and now I'm on the blink of fucking up. And I don't know nothing about Python so I can't maintain the shit itself. You know what? Fuck me. Fuck you. Fuck you, the creator of LrcAPI, FUCK YOU.

AXCWG 3 luni în urmă
părinte
comite
a8ff3c83fd
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      main.js

+ 1 - 1
main.js

@@ -290,7 +290,7 @@ app.post('/lyric', async (req, res) => {
 
     async function fetchThatShit() {
         try {
-            lrc = await (await fetch(`https://api.lrc.cx/api/v1/lyrics/single?title=${convertert2s.convertSync(name)}&album=${convertert2s.convertSync(album)}&artist=${convertert2s.convertSync(artist)}`, {
+            lrc = await (await fetch(`http://localhost:28883/api/v1/lyrics/single?title=${convertert2s.convertSync(name)}&album=${convertert2s.convertSync(album)}&artist=${convertert2s.convertSync(artist)}`, {
                 agent: new HttpsProxyAgent("http://localhost:7890")
             })).text()
         } catch (err) {