Skip to content

Commit cfab58a

Browse files
committed
fix summary_selector
1 parent 0b42c07 commit cfab58a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fundus/publishers/us/the_nation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ class V2(V1):
106106
# use the old layout for main content, so we concatenate XPath from V1 onto V1_1.
107107

108108
_summary_selector = XPath(
109-
"//div[@class='article-header-content'] /h2 | //div[contains(@class, 'article-title')] /p"
109+
"//div[@class='article-header-content'] /h2 | //article//div[contains(@class, 'article-title')] /p"
110110
)
111111
_paragraph_selector = XPath("(//article | //div[@class='article-body-inner']) / p")
112112

0 commit comments

Comments
 (0)