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

Initial support for Italian publishers, starting with La Repubblica #670

Merged
merged 12 commits into from
Jan 2, 2025
Prev Previous commit
Next Next commit
add summary selector
  • Loading branch information
MaxDall committed Dec 30, 2024
commit fbddb2dd6944fabec80b5371461d933d40b00d89
1 change: 1 addition & 0 deletions src/fundus/publishers/it/la_repubblica.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
class LaRepubblicaParser(ParserProxy):
class V1(BaseParser):
# Selectors for article body parts
_summary_selector = CSSSelector("div.story__summary p")
_paragraph_selector = CSSSelector("div.story__text p")
_subheadline_selector = CSSSelector("div.story__text h2")

Expand Down