mirror of
https://github.com/ilri/csv-metadata-quality.git
synced 2024-11-21 21:35:02 +01:00
csv_metadata_quality/check.py: use HTTPS
Use HTTPS for AGROVOC REST API.
This commit is contained in:
parent
4ed2786703
commit
93c9b739ac
@ -221,7 +221,7 @@ def agrovoc(field, field_name, drop):
|
||||
|
||||
# Try to split multi-value field on "||" separator
|
||||
for value in field.split("||"):
|
||||
request_url = "http://agrovoc.uniroma2.it/agrovoc/rest/v1/agrovoc/search"
|
||||
request_url = "https://agrovoc.uniroma2.it/agrovoc/rest/v1/agrovoc/search"
|
||||
request_params = {"query": value}
|
||||
|
||||
request = requests.get(request_url, params=request_params)
|
||||
|
Loading…
Reference in New Issue
Block a user