Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate get_value_by_key_path and replace with xpath_search #626

Merged
merged 8 commits into from
Oct 13, 2024
Prev Previous commit
remove scalar=True
  • Loading branch information
MaxDall committed Oct 8, 2024
commit da7fe932f644561dba22c7c5cc6c60e3f542d49a
2 changes: 1 addition & 1 deletion src/fundus/publishers/shared/euronews.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def body(self) -> ArticleBody:

@attribute
def authors(self) -> List[str]:
author_string = self.precomputed.ld.xpath_search("NewsArticle/author/name", scalar=True)
author_string = self.precomputed.ld.xpath_search("NewsArticle/author/name")
return utility.generic_author_parsing(author_string)

@attribute
Expand Down