A simple command line application to download content from Teca Digitale (Biblioteca comunale di Palermo Leonardo Sciascia).
The application is developed and maintained on Manjaro Linux and can be run on Linux systems. Development of a Windows version can be requested.
-
The following packages have to be installed from the package manager: git, python, python-pip, python-pipenv (most of these are pre-installed on many Linux systems)
-
Open a console somewhere in your home folder (e.g. ~/src) and clone the git repository:
git clone https://github.com/gaaldvd/palermo-grab.git
-
cd to the downloaded folder:
cd palermo-grab
-
Run the installation script:
sh install.sh
The application can be started from the palermo-grab directory with the URL of the library website:
./palermo-grab.sh 'URL'
Pay attention to the apostrophes around the URL!
The appropriate page for downloading contains the 'Immagini' section on the right side of the page, with links to the images of the desired content (e.g. this page).
The images are downloaded into the download directory which should be emptied after every session.
The update.sh file prompts the user, then updates the git repository and the Python packages: ./update.sh
Any error can be reported through e-mail with the exact error message or console screenshot.