Spaces:
Paused
Paused
Update ccc.py
Browse files
ccc.py
CHANGED
|
@@ -13,7 +13,7 @@ WEBHOOK_URL = os.environ['web']
|
|
| 13 |
BASE_URL = "https://tidal.com/browse/track/"
|
| 14 |
|
| 15 |
# Configuration - Edit these values as needed
|
| 16 |
-
START_TRACK_ID =
|
| 17 |
TRACK_CHECK_INTERVAL = 2.1 # Speed of checking in seconds (lower = faster)
|
| 18 |
|
| 19 |
async def send_webhook_message(track_link, track_info):
|
|
@@ -111,7 +111,7 @@ async def download_file(url):
|
|
| 111 |
|
| 112 |
async def upload_to_service(file_content, song_name, artist_name):
|
| 113 |
try:
|
| 114 |
-
upload_url = "https://jerrrycans-
|
| 115 |
|
| 116 |
async with aiohttp.ClientSession() as session:
|
| 117 |
# Create form data with the correct file name
|
|
|
|
| 13 |
BASE_URL = "https://tidal.com/browse/track/"
|
| 14 |
|
| 15 |
# Configuration - Edit these values as needed
|
| 16 |
+
START_TRACK_ID = 30878722 # Change this to your desired starting track ID
|
| 17 |
TRACK_CHECK_INTERVAL = 2.1 # Speed of checking in seconds (lower = faster)
|
| 18 |
|
| 19 |
async def send_webhook_message(track_link, track_info):
|
|
|
|
| 111 |
|
| 112 |
async def upload_to_service(file_content, song_name, artist_name):
|
| 113 |
try:
|
| 114 |
+
upload_url = "https://jerrrycans-file.hf.space/upload"
|
| 115 |
|
| 116 |
async with aiohttp.ClientSession() as session:
|
| 117 |
# Create form data with the correct file name
|