Skip to content

Commit fb8edb2

Browse files
committed
refactor(scraper/analyzer): increase sample size to 10 when computing
selectors
1 parent c10c22f commit fb8edb2

File tree

1 file changed

+1
-1
lines changed
  • npiai/tools/scrapers/page_analyzer

1 file changed

+1
-1
lines changed

npiai/tools/scrapers/page_analyzer/app.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ async def infer_similar_items_selector(
611611

612612
contentful_elements = await self.playwright.page.evaluate(
613613
"""
614-
() => npi.getMostContentfulElements()
614+
() => npi.getMostContentfulElements(null, 10)
615615
""",
616616
)
617617

0 commit comments

Comments
 (0)