music-kraken-core/slavart.py
2022-11-07 15:04:08 +01:00

13 lines
376 B
Python

import requests
API_ENDPOINT = "https://slavart.gamesdrive.net/api/search?q=Tekkno"
DOWNLOAD_ENDPOINT = "https://slavart-api.gamesdrive.net/api/download/track?id=153182274"
if __name__ == "__main__":
r = requests.get(DOWNLOAD_ENDPOINT, headers={
"Access-Control-Allow-Origin": "https://slavart.gamesdrive.net/"
})
print(r.status_code)
print(r.text)