Skip to content
No description, website, or topics provided.
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
JSONs
.DS_Store
.gitattributes
FSA_Photo_1_JSON_Write.py
FSA_Photo_2_Download.py
LICENSE
README.md
WPA_Drainage_1_JSON_Write.py
WPA_Drainage_2_Photo_Download.py
WPA_Education_1_JSON_Write.py
WPA_Education_2_Photo_Download.py
WPA_Lakefront_1_JSON_Write.py
WPA_Lakefront_2_Photo_Download.py
WPA_Library_1_JSON_Write.py
WPA_Library_2_Photo_Download.py
WPA_Music_1_JSON_Write.py
WPA_Music_2_Photo_Download.py
WPA_Public_Health_1_JSON_Write.py
WPA_Public_Health_2_Photo_Download.py
WPA_Recreation_1_JSON_Write.py
WPA_Recreation_2_Photo_Download.py

README.md

This collection of Python scripts scrape two websites: Yale's Photogrammar site and the New Orleans Public Library WPA Photography Collection

(1) Yale's Photogrammar

Running FSA_Photo_1_JSON_Write.py creates a JSON file that includes metadata information as well as image URLs.

Running FSA_Photo_2_Download.py reads the image URLs from the JSON file created by the first script and downloads them to a local folder named FSA_Images. You will need to create this folder in your local directory before download.

(2) New Orleans Public Library's WPA Collection

Running WPA_COLLECTION NAME_1_JSON_Write.py creates a JSON file that includes metadata information as well as image URLs.

Running WPA_COLLECTION_NAME_2_Download.py reads the image URLs from the JSON file created by the first script and downloads them to a local folder named WPA_COLLECTION NAME_Images. You will need to create a folder with the collection name (i.e. WPA_Lib_Images, WPA_Rec_Images) in your local directory before download. Please be advised that the folder name must match the file path in the second script.

Scripts are available for the following WPA collections:

  • Education
  • Drainage
  • Recreation
  • Lakefront
  • Library
  • Music
  • Public Health
You can’t perform that action at this time.