Skip to content
This repository has been archived by the owner on Aug 4, 2023. It is now read-only.

Update Europeana endpoint #974

Merged
merged 2 commits into from
Feb 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions DAGs.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,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`

Expand All @@ -219,7 +219,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`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
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
"""
import argparse
import functools
Expand Down Expand Up @@ -156,7 +156,7 @@ def _get_description(self, data: dict) -> str | None:
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 = 30

def __init__(self, *args, **kwargs):
Expand Down