Skip to content

Commit

Permalink
Update downloader-soundcloud.js
Browse files Browse the repository at this point in the history
  • Loading branch information
darlyn1234 authored Oct 28, 2024
1 parent 336abde commit 0e3a028
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions plugins/downloader-soundcloud.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ const handler = async (m, { conn, text }) => {
const tradutor = _translate.plugins.downloader_soundcloud;
if (!text) throw `${tradutor.texto1}`;
try {
const searchxd = await axios.get(
"https://deliriusapi-official.vercel.app/search/soundcloud",
const searchxd = await axios.get(global.BASE_API_DELIRIUS + "/search/soundcloud",
{
params: {
q: text,
Expand All @@ -19,8 +18,7 @@ const handler = async (m, { conn, text }) => {
},
);
const shdata = searchxd.data.data[0];
const downloadzd = await axios.get(
"https://deliriusapi-official.vercel.app/download/soundcloud",
const downloadzd = await axios.get(global.BASE_API_DELIRIUS + "/download/soundcloud",
{
params: {
url: shdata.link,
Expand Down

0 comments on commit 0e3a028

Please sign in to comment.