Archives.gov PDF Downloader

Download all PDFs from archives.gov table and create ZIP

Forfatter
Ghosty-Tongue
Daglige installasjoner
0
Totale installasjoner
2
Vurderinger
0 0 0
Versjon
0.1
Lagd
19.03.2025
Oppdatert
19.03.2025
Size
8,3 kB
Lisens
MIT
Gjelder

Archives.gov PDF Downloader

This script automatically downloads all PDF files from tables on pages of the National Archives website (archives.gov) and bundles them into a ZIP file. The user can easily start the download, track progress, and see the estimated time remaining as the PDFs are collected and downloaded.

Features:

  • Automatically collects all PDF links from tables on Archives.gov.
  • Creates a ZIP file of all PDFs for easy download.
  • Displays a progress bar with download status, file sizes, and estimated time remaining.
  • Handles pagination to gather PDFs from multiple pages.
  • Simple modal interface with start, cancel, and download buttons.

How it works:

  1. Click the "Start" button to begin scanning for PDF links across multiple pages.
  2. Once all PDFs are found, click "Download" to start the downloading process.
  3. A progress bar will show your current download status and estimated time remaining.
  4. Once the download is complete, the script generates a ZIP file containing all the PDFs, which is then automatically downloaded.