# Co-Scraper: query-aware DOM Pruning and Reusable Scraper Synthesis for Lightweight Web Data Extraction

Source: [Co-Scraper: query-aware DOM Pruning and Reusable Scraper Synthesis for Lightweight Web Data Extraction](<https://www.sota2.com/research/paper/6a30d890d33dfb23e783cbf9>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2026-06-17T05:00:05.807Z

Authors: Shoupeng Wang, Jiantao Qiu, Wuyang Zhang, Conghui He

Published: 2026-06-12T12:37:40.000Z

## Abstract

The abundant and heterogeneous nature of web content necessitates automated information extraction, and generating scrapers that can be reused across similar web pages offers an effective solution for scalable data extraction. In this work, we propose Co-Scraper, a two-stage framework capable of handling the hierarchical complexity of long HTML documents. By integrating a query-aware DOM pruning mechanism with stable extraction strategy induction, Co-Scraper can effectively transforms web content into executable programmatic wrappers using a fine-tuned Qwen3-8B model. On the test set of SWDE, Co-Scraper achieves state-of-the-art performance with an F1 score of 94.78% and a reuse success rate of 90.39%. This framework significantly enhances the accuracy and resilience of data extraction, providing a highly efficient approach for web data acquisition tasks.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

- [Web Data Extraction on SWDE (F1 Score)](<https://www.sota2.com/research/sota/web-data-extraction-on-swde-f1-score.md>): Web Data Extraction; SWDE; F1 Score: 94.78.

- [End-to-end Web Data Extraction on SWDE (Univ. split)](<https://www.sota2.com/research/sota/end-to-end-web-data-extraction-on-swde-univ-split.md>): End-to-end Web Data Extraction; SWDE (Univ. split); Precision: 96.36.

- [End-to-end Web Data Extraction on SWDE (Non-Univ.)](<https://www.sota2.com/research/sota/end-to-end-web-data-extraction-on-swde-non-univ.md>): End-to-end Web Data Extraction; SWDE (Non-Univ.); Precision: 94.39.

- [End-to-end Web Data Extraction on SWDE (Overall)](<https://www.sota2.com/research/sota/end-to-end-web-data-extraction-on-swde-overall.md>): End-to-end Web Data Extraction; SWDE (Overall); F1 Score: not recorded.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2606.14821>)

[PDF](<https://arxiv.org/pdf/2606.14821.pdf>)
