forked from mirrors/bookwyrm
oclc server sure is slow
This commit is contained in:
parent
2602ae42b0
commit
8e6619294f
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ def request_isni_data(search_index, search_term, max_records=5):
|
|||
"recordPacking": "xml",
|
||||
"sortKeys": "RLV,pica,0,,",
|
||||
}
|
||||
result = requests.get("http://isni.oclc.org/sru/", params=query_params, timeout=10)
|
||||
result = requests.get("http://isni.oclc.org/sru/", params=query_params, timeout=15)
|
||||
# the OCLC ISNI server asserts the payload is encoded
|
||||
# in latin1, but we know better
|
||||
result.encoding = "utf-8"
|
||||
|
|
Loading…
Reference in a new issue