You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Script, Dockerfile, and instructions for downloading full-resolution images for an entire manuscript from the British Library.
NOTE: this script may not currently work after the British Library's restoration of manuscript image services following an extended outage due to a 2023 cyberattack. See this issue.
Docker step-by-step instructions
These instructions assume you already have a working Docker install running and some command-line familiarity.
Run the bl-dl Docker image using the image viewer link you just copied, and mapping the current directory into the /data volume, e.g.:
docker run -ti -v "$(pwd)":/data ryanfb/bl-dl "https://www.bl.uk/manuscripts/Viewer.aspx?ref=burney_ms_86_fs001r"
Non-Docker step-by-step command-line instructions
If you'd prefer not to use Docker, you can instead run this script natively. These instructions assume some command-line familiarity. The bl-dl.sh script also needs: bash, wget, sort, uniq, sed, grep, and fgrep installed.
Extract the download archive and open a terminal or command line prompt where the dezoomify-rs executable is available. Copy/move the dezoomify-rs excutable so that it is available on your PATH, e.g.: sudo mv -v dezoomify-rs /usr/local/bin/
Download this script: wget "https://raw.githubusercontent.com/ryanfb/bl-dl/main/bl-dl.sh" - and make it executable, e.g.: chmod a+x bl-dl.sh
Run the bl-dl.sh script you downloaded using the image viewer link you just copied, e.g.: ./bl-dl.sh "https://www.bl.uk/manuscripts/Viewer.aspx?ref=burney_ms_86_fs001r"
The script should automatically run dezoomify-rs to download the largest version available for every manuscript image.
About
Script, Dockerfile, and Instructions for Downloading Manuscript Images from the British Library