From 54483be900a30632293c741266ad1e735ed2a935 Mon Sep 17 00:00:00 2001 From: Ashish Acharya Date: Tue, 17 Oct 2023 10:18:59 -0500 Subject: [PATCH] Change url1 to download_url in API response parsing code --- sde_collections/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sde_collections/tasks.py b/sde_collections/tasks.py index adc1265d..d6f15752 100644 --- a/sde_collections/tasks.py +++ b/sde_collections/tasks.py @@ -207,7 +207,7 @@ def _get_data_to_import(collection, server_name): if full_collection_name in ignore_collections: continue - url = record.get("url1") + url = record.get("download_url") title = record.get("title", "") collection_pk = collection.pk