Spaces:
Paused
Paused
πππ₯π₯πππ π π¨ππππ₯π β‘
commited on
Update dl-spotify.js
Browse files- plugins/dl-spotify.js +1 -1
plugins/dl-spotify.js
CHANGED
|
@@ -17,7 +17,7 @@ async (conn, mek, m, { from, quoted, args, reply }) => {
|
|
| 17 |
|
| 18 |
// Define the API URL with the user-provided Spotify URL
|
| 19 |
const spotifyUrl = args[0];
|
| 20 |
-
const apiUrl = `https://
|
| 21 |
|
| 22 |
// Fetch data from the API
|
| 23 |
const response = await fetch(apiUrl);
|
|
|
|
| 17 |
|
| 18 |
// Define the API URL with the user-provided Spotify URL
|
| 19 |
const spotifyUrl = args[0];
|
| 20 |
+
const apiUrl = `https://pikabotzapi.vercel.app/downloader/spotifydl/?apikey=anya-md&url=${spotifyUrl}`;
|
| 21 |
|
| 22 |
// Fetch data from the API
|
| 23 |
const response = await fetch(apiUrl);
|