From 1f9eb174145e1cf60bf45d96efd659dd783606c2 Mon Sep 17 00:00:00 2001 From: Karim shoair Date: Sun, 8 Feb 2026 23:33:30 +0200 Subject: [PATCH] ops: update benchmarks script --- benchmarks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmarks.py b/benchmarks.py index 438466e..fcb089c 100644 --- a/benchmarks.py +++ b/benchmarks.py @@ -75,7 +75,7 @@ def test_scrapling(): # No need to do `.extract()` like parsel to extract text # Also, this is faster than `[t.text for t in Selector(large_html, adaptive=False).css('.item')]` # for obvious reasons, of course. - return ScraplingSelector(large_html, adaptive=False).css(".item::text") + return ScraplingSelector(large_html, adaptive=False).css(".item::text").getall() @benchmark