Skip to content

Instantly share code, notes, and snippets.

Last active Apr 30, 2018
What would you like to do?
archiviare documenti su internet archive
from internetarchive import upload
import os
descr="descrizione documento"
head, tail = os.path.split(file)
md = dict(subject='tag1;tag2;tag3', description=descr)
r = upload(tail, files=file, metadata=md)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment