Skip to content

Commit

Permalink
Merge pull request #623 from flairNLP/fix-focus
Browse files Browse the repository at this point in the history
Fix `Focus`
  • Loading branch information
addie9800 authored Oct 8, 2024
2 parents 4addcbd + 89ffea9 commit 51404cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/fundus/publishers/de/focus.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@

class FocusParser(ParserProxy):
class V1(BaseParser):
_paragraph_selector = CSSSelector("div.textBlock > p")
_summary_selector = CSSSelector("div.leadIn > p")
_subheadline_selector = CSSSelector("div.textBlock > h2")
_paragraph_selector = CSSSelector("div.textBlock > p , div[data-qa-article-content-text] > p")
_summary_selector = CSSSelector("div.leadIn > p, div.Article-Description ")
_subheadline_selector = CSSSelector("div.textBlock > h2, div[data-qa-article-content-text] > h2")
_snippet_selector = XPath(
'string(//script[@type="text/javascript"][contains(text(), "window.bf__bfa_metadata")])'
)
Expand Down

0 comments on commit 51404cb

Please sign in to comment.