Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
Update website page teaser image path
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed May 13, 2024
1 parent 92cf15d commit c52088f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/sources/website.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def get_result(self, page: int | None = 1) -> dict:
page_details_url = f"{self.api_base_url}{self.api_path}{article.id}"
page_details = page_details_api.execute(page_details_url)
article.description = page_details["meta"]["search_description"]
article.image = page_details["teaser_image_jpg"]
article.image = page_details["teaser_image"]["image_jpeg"]
response.results.append(article)
response.count = raw_results["meta"]["total_count"]
response.results_per_page = self.results_per_page
Expand Down

0 comments on commit c52088f

Please sign in to comment.