From 4ee750c5d4a861b178411069291488ad4af6560c Mon Sep 17 00:00:00 2001 From: Yuvi9587 <114073886+Yuvi9587@users.noreply.github.com> Date: Sun, 3 Aug 2025 09:11:27 -0700 Subject: [PATCH] Update drive_downloader.py --- src/services/drive_downloader.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/services/drive_downloader.py b/src/services/drive_downloader.py index 6e5676c..a8e8ef8 100644 --- a/src/services/drive_downloader.py +++ b/src/services/drive_downloader.py @@ -7,8 +7,6 @@ import base64 import time from urllib.parse import urlparse, urlunparse, parse_qs, urlencode -# --- Third-Party Library Imports --- -# Make sure to install these: pip install requests pycryptodome gdown import requests try: @@ -23,11 +21,8 @@ try: except ImportError: GDRIVE_AVAILABLE = False -# --- Constants --- MEGA_API_URL = "https://g.api.mega.co.nz" -# --- Helper Functions (Original and New) --- - def _get_filename_from_headers(headers): """ Extracts a filename from the Content-Disposition header.