We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5151690 commit 2bd9441Copy full SHA for 2bd9441
src/fundus/publishers/pt/the_portugal_news.py
@@ -16,7 +16,7 @@
16
class ThePortugalNewsParser(ParserProxy):
17
class V1(BaseParser):
18
_paragraph_selector = XPath("//div[@class='article-body']//p[string-length(text())>1]")
19
- _subheadline_selector = XPath("//div[@class='article-body']/p/b")
+ _subheadline_selector = XPath("//div[@class='article-body']/p/b[not(u)]")
20
_summary_selector = XPath("//div[@class='fs-4 font-semibold mb-3']")
21
22
_author_selector = XPath("//div[@class='col-lg-10 order-lg-1']/p//text()")
0 commit comments