sunodaki tüm şarkıları yüksek kalitede indirebileceğiniz api paylaşıyorum
🎵 Suno MP3 Downloader
[SIZE=\"4\"]Kullanım:[/SIZE]
http://127.0.0.1/mp3?suno=SONG_ID
Örnekler:
Sadece ID ile:
http://127.0.0.1/mp3?suno=M1DwnOnhvgHnhA1x
Tam URL ile: http://127.0.0.1/mp3?suno=https://suno.com/s/M1DwnOnhvgHnhA1x
python flask scirpt kodu :
from flask import Flask, request, Response
import requests
app = Flask(__name__)
@app.route('/')
def home():
return '''<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Suno MP3 Downloader</title>
<style>
body { font-family: Arial, sans-serif; max-width: 600px; margin: 50px auto; padding: 20px; }
h1 { color: #333; }
code { background: #f4f4f4; padding: 5px 10px; border-radius: 3px; display: block; margin: 10px 0; }
.example { margin: 20px 0; }
</style>
</head>
<body>
<h1>🎵 Suno MP3 Downloader</h1>
<div class="example">
<h3>Kullanım:</h3>
<code>http://127.0.0.1/mp3?suno=SONG_ID</code>
</div>
<div class="example">
<h3>Örnekler:</h3>
<p><strong>Sadece ID ile:</strong></p>
<code>http://127.0.0.1/mp3?suno=M1DwnOnhvgHnhA1x</code>
<p><strong>Tam URL ile:</strong></p>
<code>http://127.0.0.1/mp3?suno=https://suno.com/s/M1DwnOnhvgHnhA1x</code>
</div>
</body>
</html>'''
@app.route('/mp3')
def download_suno():
# Get Suno ID or URL from query parameter
suno_input = request.args.get('suno')
if not suno_input:
return "Suno ID veya URL gerekli. Örnek: /mp3?suno=M1DwnOnhvgHnhA1x", 400
# Check if full URL or just ID
if suno_input.startswith('http'):
suno_url = suno_input
else:
suno_url = f'https://suno.com/s/{suno_input}'
headers = {
'Referer': 'https://www.sunodownloader.io/tr',
'User-Agent': 'Mozilla/5.0 (iPhone; CPU iPhone OS 18_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.5 Mobile/15E148 Safari/604.1',
'Content-Type': 'application/json',
'X-Source': 'sunodownloader-website',
}
json_data = {
'url': suno_url,
}
try:
response = requests.post('https://www.sunodownloader.io/api/audio-download', headers=headers, json=json_data)
if response.status_code == 200:
# Return MP3 file as download
return Response(
response.content,
mimetype='audio/mpeg',
headers={
'Content-Disposition': 'attachment; filename=suno_download.mp3'
}
)
else:
return f"Hata: {response.status_code}", response.status_code
except Exception as e:
return f"Hata: {str(e)}", 500
if __name__ == '__main__':
app.run(host='127.0.0.1', port=80, debug=True)