We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent adc466a commit 42cab05Copy full SHA for 42cab05
1 file changed
music/spotify.py
@@ -1,12 +1,10 @@
1
import json
2
import os
3
import time
4
-
5
import aiohttp
6
from pyrogram import Client, filters
7
from pyrogram.types import Message
8
from utils.scripts import progress
9
10
from utils import modules_help, prefix
11
12
@@ -60,7 +58,7 @@ async def spotify_download(client: Client, message: Message):
60
58
)
61
59
return
62
63
- song_download_link = download_result["data"].get("url")
+ song_download_link = download_result["data"].get("download")
64
if not song_download_link or not song_download_link.startswith("http"):
65
await status_message.edit_text(
66
"<code>Song isn't available for download.</code>"
0 commit comments