This commit is contained in:
@@ -25,7 +25,7 @@ def download_m3u8():
|
|||||||
# Ensure the directory exists
|
# Ensure the directory exists
|
||||||
os.makedirs(M3U8_DIR, exist_ok=True)
|
os.makedirs(M3U8_DIR, exist_ok=True)
|
||||||
|
|
||||||
print(f"{datetime.now()} - Downloading M3U8 from source (timeout: {DOWNLOAD_TIMEOUT}s)")
|
print(f"{datetime.now()} - Downloading M3U8 from source {SOURCE_URL} (timeout: {DOWNLOAD_TIMEOUT}s)")
|
||||||
response = requests.get(SOURCE_URL, timeout=DOWNLOAD_TIMEOUT)
|
response = requests.get(SOURCE_URL, timeout=DOWNLOAD_TIMEOUT)
|
||||||
|
|
||||||
if response.status_code == 200:
|
if response.status_code == 200:
|
||||||
|
|||||||
Reference in New Issue
Block a user