mirror of
https://github.com/qurator-spk/ocrd-galley.git
synced 2025-06-09 22:59:53 +02:00
🐛 ppn2ocr: Verify oai.sbb.berlin's certificate again
Now that oai.sbb.berlin's certificate chain is fixed, remove the workaround again. Fixes GH#15.
This commit is contained in:
parent
3f4ec30349
commit
bb703152db
1 changed files with 1 additions and 3 deletions
4
ppn2ocr
4
ppn2ocr
|
@ -32,9 +32,7 @@ def oai_mets(ppn):
|
|||
}
|
||||
|
||||
s = requests.Session()
|
||||
# FIXME oai.sbb.berlin fails certificate check
|
||||
#r = s.get(API_URL, params=params)
|
||||
r = s.get(API_URL, params=params, verify=False)
|
||||
r = s.get(API_URL, params=params)
|
||||
mets = ET.XML(r.content).find(f".//{{{XMLNS['mets']}}}mets")
|
||||
mets = ET.ElementTree(mets)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue