From 7ffc10056fdd1138ae64ea6f38ed34d6d00b17e7 Mon Sep 17 00:00:00 2001 From: onb1259 <onb1259@onb.ac.at> Date: Mon, 17 Jul 2023 09:24:26 +0200 Subject: [PATCH] updated README --- README.md | 10 ++++++++++ test_postcards.ipynb | 1 - 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..9f85e83 --- /dev/null +++ b/README.md @@ -0,0 +1,10 @@ +ONB GitLab + +https://labs.onb.ac.at/gitlab/a.rabensteiner/test_ipython + +Binder + +https://mybinder.org/v2/git/https%3A%2F%2Flabs.onb.ac.at%2Fgitlab%2Fa.rabensteiner%2Ftest_ipython/HEAD?labpath=test_postcards.ipynb + +[](https://mybinder.org/v2/git/https%3A%2F%2Flabs.onb.ac.at%2Fgitlab%2Fa.rabensteiner%2Ftest_ipython/HEAD?labpath=test_postcards.ipynb) + diff --git a/test_postcards.ipynb b/test_postcards.ipynb index 4c54773..ea70b37 100644 --- a/test_postcards.ipynb +++ b/test_postcards.ipynb @@ -101,7 +101,6 @@ "random_idx = randint(0, nb_postcards)\n", "#random_idx = 15643\n", "iiif_manifest_link = postcards_data['manifests'][random_idx]['@id']\n", - "#single_postcard_mainfest = requests.get(iiif_manifest_link)\n", "akon_id = iiif_manifest_link.split('AKON/')[1].split('/')[0]\n", "iiif_image_link = f'https://iiif.onb.ac.at/images/AKON/{akon_id}/{akon_id.split(\"_\")[1]}/full/full/0/native.jpg'\n", "print(f'loaded {nb_postcards} postcards, choose postcard number {random_idx} {akon_id}\\n{iiif_image_link}')\n", -- GitLab