Giter Club home page Giter Club logo

antenati's Introduction

antenati

A tool to download data from the Portale Antenati, the genealogy digital archive maintained by the italian Ministero per i beni e le attività culturali.

Since the website tends to be pretty slow in the evening, we present a script to help the retrieval of the documents for your family tree. The script allows you to download all the images of multiple archive at the same time (launching multiple instance of the script), whithout any human action. Just launch the script, and have a coffee while it downloads all the stuff for you.

Requirements

The software is written in Python 3 and tested with Python 3.7. On Windows the version on the Microsoft Store is fine, on Linux use your distribution package manager.

Usage

Open your preferite terminal and change directory to where you've extracted the content of this repo. Then execute the following commands.

Install the dependencies

The first time you will have to install the dependencies:

pip install -r requirements.txt

Run

To download the images of a gallery, execute the script passing the URL of a collection you want to download as argument:

python3 antenati.py <URL of the album>

The files will be downloaded to a new folder named as ARCHIVE-PLACE-YEAR-TYPE-ID of the downloaded archive. For more options, see the help:

python3 antenati.py -h

Example:

In the website, navigate to the archive you want to download. For example, for the people born in Viareggio in 1807 you should find the page:

https://www.antenati.san.beniculturali.it/ark:/12657/an_ua19944535/w9DWR8x

Then, copy the link to the first page, and call the script with that link as argument:

python3 antenati.py https://www.antenati.san.beniculturali.it/ark:/12657/an_ua19944535/w9DWR8x

The results will be placed in a folder named archivio-di-stato-di-lucca-stato-civile-napoleonico-viareggio-1807-nati-19944549.

antenati's People

Contributors

gcerretani avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.