mirror of
https://github.com/ilri/csv-metadata-quality.git
synced 2025-08-12 07:48:07 +02:00
src: update AGROVOC REST API URL
This commit is contained in:
@ -206,7 +206,7 @@ def agrovoc(field, field_name, drop):
|
||||
|
||||
# Try to split multi-value field on "||" separator
|
||||
for value in field.split("||"):
|
||||
request_url = "https://agrovoc.uniroma2.it/agrovoc/rest/v1/agrovoc/search"
|
||||
request_url = "https://agrovoc.fao.org/browse/rest/v1/search"
|
||||
request_params = {"query": value}
|
||||
|
||||
request = requests.get(request_url, params=request_params)
|
||||
|
Reference in New Issue
Block a user