We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
summary_selector
1 parent 0b42c07 commit cfab58aCopy full SHA for cfab58a
src/fundus/publishers/us/the_nation.py
@@ -106,7 +106,7 @@ class V2(V1):
106
# use the old layout for main content, so we concatenate XPath from V1 onto V1_1.
107
108
_summary_selector = XPath(
109
- "//div[@class='article-header-content'] /h2 | //div[contains(@class, 'article-title')] /p"
+ "//div[@class='article-header-content'] /h2 | //article//div[contains(@class, 'article-title')] /p"
110
)
111
_paragraph_selector = XPath("(//article | //div[@class='article-body-inner']) / p")
112
0 commit comments