Skip to content

Commit

Permalink
bugfix: rename corpus_ark -> corpus_id
Browse files Browse the repository at this point in the history
  • Loading branch information
BeritJanssen committed Nov 14, 2024
1 parent 2ae9b06 commit 3e7bf73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/corpora/gallica/gallica.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def sources(self, start: datetime, end: datetime):
for year in years:
try:
response = requests.get(
f"{self.data_url}/services/Issues?ark=ark:/12148/{self.corpus_ark}/date&date={year}"
f"{self.data_url}/services/Issues?ark=ark:/12148/{self.corpus_id}/date&date={year}"
)
ark_soup = BeautifulSoup(response.content, "xml")
ark_numbers = [
Expand Down

0 comments on commit 3e7bf73

Please sign in to comment.