Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Update Europeana endpoint (#974)
Staci Mullins52acf96b98bf
diff --git a/DAGs.md b/DAGs.mdindex 0017e8173..76d2836b6 100644--- a/DAGs.md+++ b/DAGs.md@@ -213,7 +213,7 @@ ETL Process: Use the API to identify all CC licensed images.Output: TSV file containing the images and the respective meta-data.-Notes: https://www.europeana.eu/api/v2/search.json+Notes: https://pro.europeana.eu/page/search## `europeana_workflow`@@ -223,7 +223,7 @@ ETL Process: Use the API to identify all CC licensed images.Output: TSV file containing the images and the respective meta-data.-Notes: https://www.europeana.eu/api/v2/search.json+Notes: https://pro.europeana.eu/page/search## `finnish_museums_workflow`diff --git a/openverse_catalog/dags/providers/provider_api_scripts/europeana.py b/openverse_catalog/dags/providers/provider_api_scripts/europeana.pyindex 9816b5b19..0fcd7ae94 100644--- a/openverse_catalog/dags/providers/provider_api_scripts/europeana.py+++ b/openverse_catalog/dags/providers/provider_api_scripts/europeana.py@@ -6,7 +6,7 @@ ETL Process: Use the API to identify all CC licensed images.Output: TSV file containing the images and therespective meta-data.-Notes: https://www.europeana.eu/api/v2/search.json+Notes: https://pro.europeana.eu/page/search"""import argparseimport functools@@ -159,7 +159,7 @@ class EuropeanaRecordBuilder:class EuropeanaDataIngester(ProviderDataIngester):providers = {"image": prov.EUROPEANA_DEFAULT_PROVIDER}sub_providers = prov.EUROPEANA_SUB_PROVIDERS- endpoint = "https://www.europeana.eu/api/v2/search.json?"+ endpoint = "https://api.europeana.eu/record/v2/search.json?"delay = 30def __init__(self, *args, **kwargs):