Download a public photo gallery from Dropbox

Today I’ve received a link to a public Dropbox photo gallery. I wanted to download all the pictures without having to click on them one by one. Doing a little search I found that someone had already solved this problem with a simple Bash Shell Script. I’ve tested it and it works pretty well.