diff --git a/InternetArchive.py b/InternetArchive.py index 0a1071f..f547595 100644 --- a/InternetArchive.py +++ b/InternetArchive.py @@ -22,67 +22,6 @@ def simplify_filename(filename: str) -> str: return f"{filename.strip('_')}{file_ext}" -def download_zip_files( - url: str, - output_dir: Path, - core_folder_mapping: dict, - progress: Progress, - task_id: int, -): - start_time = time.time() - try: - response = requests.get(url) - except requests.exceptions.ConnectionError: - console.print( - Text( - f"An error occurred while trying to connect to {url}. Please check your internet connection.", - style="red", - ) - ) - return - except requests.exceptions.RequestException as e: - console.print( - Text( - f"An error occurred while trying to connect to {url}: {str(e)}", - style="red", - ) - ) - return - pattern = re.compile(r'