Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import requests
- url = "URL you just found from decoding from base64"
- headers = {
- "Referer": "Base URL from where you can click on the song and play it",
- "User-Agent": "Mozilla/5.0"
- }
- response = requests.get(url, headers=headers)
- if response.status_code == 200:
- with open("song.mp3", "wb") as f:
- f.write(response.content)
- print("Downloaded successfully.")
- else:
- print(f"Failed: {response.status_code}")
Add Comment
Please, Sign In to add comment