02 July 2024

Semi-Automated Process for Downloading Antenati Images

Done in batches, this process lets you download as many Antenati vital record images as you want.
Done in batches, this process lets you download as many Antenati vital record images as you want.

Remember the good old days when you could download an entire town's vital records from Antenati? I'm glad I grabbed all my main ancestral hometowns while I had the chance. But there are still more vital record collections I'd love to have at my fingertips.

Both the Italian Antenati website and FamilySearch block the use of mass-download programs. They may be trying to avoid taxing their web servers. But it could be in their contract with the localities that they prevent these activities. There's nothing we users can do about it.

While mass downloads are gone, we can do…let's call them "group downloads." I've heard from enough readers to know that the desire to collect these groups of files is there. That's why I want to share my semi-automated process for downloading Antenati files.

Granted, if the register book you want has tons of pages, this will be an ordeal. It may scare you away, or you may decide to tackle it over the course of a few days. But, if the book you want is small enough, you'll absolutely want to do this.

Some of my ancestors came from an Italian town with a handful of frazioni. A frazione is like a hamlet—a semi-independent part of a town. Think of a large city like Brooklyn, New York. It's many residential sections each have their own identity. There's Bushwick, Bedford-Stuyvesant, and Liberty Park. These sections are a lot like frazioni in Italy.

Some of the people in my family tree have birth records I'm missing because they came from a frazione of the town. I want to gather the records from the frazioni I'm missing.

Montorso is a frazione with 5 birth registers available on Antenati (1862–1866). In later years, they stored their vital records with the larger town. That's how some people born in Montorso made it into my family tree. The Montorso registers are very small, so I'm going to download all the files.

The 1866 birth register has 6 images, but only 3 contain birth records. The others are the book cover, title page, and a blank page at the end of the book. I want images 3, 4, and 5.

Let's Get Started

Here's the process, and it's the only way to get to the high-resolution images:

  1. Go to each image you want to download and copy its URL to a text file on your computer. The URL changes the instant you click a new page, even if the image doesn't render right away.
    • In this case, the URLs are:
      • https://antenati.cultura.gov.it/ark:/12657/an_ua2286280/02R93aK
      • https://antenati.cultura.gov.it/ark:/12657/an_ua2286280/5gGRdap
      • https://antenati.cultura.gov.it/ark:/12657/an_ua2286280/LPa47oY
  2. The last 7 characters of each URL on Antenati, the part after the last /, is a code that's unique to that image. Your goal: Put that code in the following template, replacing the word TARGET: https://iiif-antenati.san.beniculturali.it/iiif/2/TARGET/full/full/0/default.jpg

    The result is this:
    • https://iiif-antenati.san.beniculturali.it/iiif/2/02R93aK/full/full/0/default.jpg
    • https://iiif-antenati.san.beniculturali.it/iiif/2/5gGRdap/full/full/0/default.jpg
    • https://iiif-antenati.san.beniculturali.it/iiif/2/LPa47oY/full/full/0/default.jpg
  3. Click each new link (or paste it into a web browser), give it a moment to display, then right-click and save the image to your computer.

When you create a longer list of image URLs from the same register book, you can complete this task with a more automated process:

  • In your text editor, Find & Replace everything before the unique 7-character code with https://iiif-antenati.san.beniculturali.it/iiif/2/ (that's the first part of the template URL). You can do this to the entire list at once because each URL has the same beginning.
  • Paste /full/full/0/default.jpg at the end of each line in your list (that's the end of the template URL). Take a look at the image at the top of this article to see the before and after text files.
There's no download button on Antenati, but here's a download process you can use over and over.
There's no download button on Antenati, but here's a download process you can use over and over.

I use a free Windows text editor called Notepad++ (get it at https://notepad-plus-plus.org). As a retired website manager, I used to work in HTML code every day. I still HTML-code these blog articles and my own website. Notepad++ has always saved me tons of time and ensured my accuracy.

A big Notepad++ benefit for this project is that any URL in a text file is a clickable link. When you make a list of URLs, it's easy to click through them, go to the browser page, and right-click to save the file. Be sure to give each file you download a different name:

  • First, create a folder for the town. In this case, Montorso.
  • Then make a sub-folder for the year and type of document, such as 1866 births.
  • When you right-click the high-resolution images in your web browser, save them as 1.jpg, 2.jpg, 3.jpg. This keeps the files in the proper order for you.

Yes, this is tedious for a large town and nearly unthinkable for a big city. But if the town's vital records are important to your research, you'll be happy you went to the trouble. Be sure to take breaks or your mousing arm will get sore!

When I prepared to download the 1865 birth records for Montorso, I saw that the register has 21 images. But looking at the thumbnail images, I found that I needed to download only 12 of them. The rest were cover pages and blank pages. Keep an eye out for duplicate images, too. When this happens, you can decide which one is better and skip the other.

When you have a whole collection at your fingertips, you'll make new discoveries. Like, your 2nd great grandmother and her first cousin were born the same day. Or your great grandmother was a twin and you didn't know it! (That happened to me.)

If you have Italian ancestry and you're not using the Antenati website, you probably haven't gotten very far. Find out exactly how the use the Antenati with these articles:

6 comments:

  1. Thanks DiAnn for such a clear explanation for getting the best quality images from Antenati in a relatively easy to follow way - this seems much simpler than the process I was using earlier that involved right-clicking and viewing html code (and quicker).

    For my Italian research, it focuses on a number of neighbouring towns, each with a full set of 1809 - 1910 records, so downloading the entire set is daunting. My compromise is this, which might be an idea for some of your readers to consider:

    For each town, I create a folder with 3 folders inside it, for Nati / Matrimoni / Morti. Then, I use a technique (switching to this new one from today - thanks DiAnn!) to download the INDEX pages that are at the back or the front of each yearly register. I rename each image by Town / Type / Year / Register #. For years where the scribe did not create an index entry, I will take the time to make my own index page (in a spreadsheet), then take a screenshot of that, and include that image in the folder.

    SO ... this way, I can search for people by looking for them in my indexes on my local computer, and when I find them, I know exactly in which register and what record number to look for (usually).

    Final step would be to transcribe those indexes ... but I'm waiting for AI handwriting recognition to get good enough to do that for me someday!

    ReplyDelete
    Replies
    1. EXCELLENT idea! When downloading a town is too overwhelming, just download the indexes, well-labeled, so you have the benefit of easy searching. That's an idea I will borrow, Greg. Thanks so much.

      Delete
  2. Quick Update on Process: This morning I found I am missing some Matrimonio Index pages for a range of years from Bisignano, Cosenza, which is now on Antenati. Using the process above I was able to retrieve them. PRO USER TIP: When you open up a registro, click on the GALLERY view (where you can see the thumbnails of the entire register). For what I'm doing, I just want the index records, which are almost always at the end - AND - have a very different visual look, so even a small thumbnail makes it easy to spot the ones I want. IF you CLICK on a thumbnail, it automatically changes the URL in the location bar of your browser - EVEN IF YOU DON'T DOUBLE CLICK to LOAD the IMAGE! This means, you can VERY QUICKLY do a single click on each thumbnail you want, copy the URL above (or just the last 7 characters in fact), and then move onto the next one. SO MUCH FASTER! Thanks again DiAnn for this process!

    ReplyDelete
    Replies
    1. And just as a warning, I sometimes see the index pages several pages before the end. When there are additional records for stillborn babies or abandoned babies, the index can come before them. Scroll through those thumbnails!

      Delete
  3. Pretty sure this python script still works for Antenati: https://github.com/gcerretani/antenati

    ReplyDelete
    Replies
    1. That's not an easy thing to jump into. Anything on github makes my eyes glaze over.

      Delete