Update download.py

This commit is contained in:
TylerCG 2025-05-12 10:43:14 -04:00
parent ec46022fd8
commit f8a51c23e4

View File

@ -2,6 +2,9 @@ import os, yt_dlp, json, requests, re, logging
from bs4 import BeautifulSoup
from urllib.parse import urlsplit
# Setup logging
logging.basicConfig(filename='/data/logs/syllabus.log', level=logging.INFO,
format='%(asctime)s - %(levelname)s - %(message)s')
logger = logging.getLogger(__name__)
# Define the hook function