Open GVogeler opened 2 years ago
https://www.monasterium.net/mom/DE-StAAm/Waldsassen/fond => absolute URLs for images at https://www.gda.bayern.de/bestaende/44/1500/1500_430f24ff-9efa-4c7e-83d6-d239e2ba6e9e_0001.jpg etc. are not available anymore. The METS file from the object (e.g. https://www.gda.bayern.de/mets/430f24ff-9efa-4c7e-83d6-d239e2ba6e9e) reference https://www.gda.bayern.de/digitalisat/jpeg/430f24ff-9efa-4c7e-83d6-d239e2ba6e9e/1. So the object UUID of the charter remains the same while the base-URL, the fond references before the for first underscore and the image counter after the last underscore have changed. Replacement pattern seems to be: http://www.gda.bayern.de/bestaende/44/1500/1500_(.*?)_0*?(\d+).jpg => https://www.gda.bayern.de/digitalisat/jpeg/$1/$2
http://www.gda.bayern.de/bestaende/44/1500/1500_(.*?)_0*?(\d+).jpg
https://www.gda.bayern.de/digitalisat/jpeg/$1/$2
https://www.monasterium.net/mom/DE-StAAm/Waldsassen/fond => absolute URLs for images at https://www.gda.bayern.de/bestaende/44/1500/1500_430f24ff-9efa-4c7e-83d6-d239e2ba6e9e_0001.jpg etc. are not available anymore. The METS file from the object (e.g. https://www.gda.bayern.de/mets/430f24ff-9efa-4c7e-83d6-d239e2ba6e9e) reference https://www.gda.bayern.de/digitalisat/jpeg/430f24ff-9efa-4c7e-83d6-d239e2ba6e9e/1. So the object UUID of the charter remains the same while the base-URL, the fond references before the for first underscore and the image counter after the last underscore have changed. Replacement pattern seems to be:
http://www.gda.bayern.de/bestaende/44/1500/1500_(.*?)_0*?(\d+).jpg
=>https://www.gda.bayern.de/digitalisat/jpeg/$1/$2