This commit is contained in:
2026-01-10 17:30:18 -08:00
parent 08fef4a5d3
commit c2edd5139f
10 changed files with 769 additions and 86 deletions

View File

@@ -1380,8 +1380,8 @@ class DownloadModal(ModalScreen):
logger.info(f"Downloading {len(selected_url)} selected PDFs for merge")
# Download PDFs to temporary directory
temp_dir = Path.home() / ".downlow_temp_pdfs"
temp_dir.mkdir(exist_ok=True)
import tempfile
temp_dir = Path(tempfile.mkdtemp(prefix="Medios-Macina-pdfs_"))
downloaded_files = []
for idx, url in enumerate(selected_url, 1):