Skip to content

Latest commit

 

History

History
51 lines (41 loc) · 1.68 KB

README.md

File metadata and controls

51 lines (41 loc) · 1.68 KB

Archive Library of Congress (LoC) Collection

A tool to download and archive collections from the Library of Congress (LoC). Inspired by https://www.tiktok.com/@annelisethearchaeologist/video/7436133360868822318.

Installation

npm install archive-loc-collection

Usage

npx archive-loc-collection https://www.loc.gov/collections/ansel-adams-manzanar .

Navigate to https://www.loc.gov/collections/, find a collection you wish to archive, then use the tool to enter the URL and the file path to save the collection. The tool will download all media files (images, audio, video) from the collection, as well as the About page for the collection and a file containing all archival data for each media file (Title, Other Title, Summary, Names, Notes, Call Number, Format, and Filename).

Example archival data file:

Title Other Title Summary Names Notes Call Number Format Filename
Henry Hanawa, mechanic, Manzanar Relocation Center, California Henry Hanawa, bust portrait, facing front. Adams, Ansel, 1902-1984, photographer
  • Title transcribed from Ansel Adams' caption on negative sleeve.
  • No original photographic print. Library made print in LOT 10479-1.
  • Gift; Ansel Adams; 1965-1968.
  • Forms part of: Manzanar War Relocation Center photographs." LC-A35-4-M-21-A [P&P] image 00027v.jpg
LC-A35-4-M-21-A [P&P] image 00027v.jpg