XPath Agent: An Efficient XPath Programming Agent Based on LLM for Web Crawler
Yu [email protected], Bryce WangStanford [email protected] [email protected] · 2025
Read XPath Agent: An Efficient XPath Programming Agent Based on LLM for Web Crawler by Yu [email protected], Bryce WangStanford [email protected] [email protected] (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2502-15688.txt.
Description
Yu Li, Bryce Wang, and Xinyu Luan present in 2024 a language model agent that writes web scraping queries on its own. Given sample pages and one plain request, it produces the XPath expressions a crawler needs. Hand writing those expressions is slow, fiddly work, and rival agents burn many tokens.
Benchmarks against a leading rival show equal results with far fewer tokens and faster runs. A two stage pipeline lets the tool slot into existing crawler or interface testing flows. The code is public. The catalog lists the work under 2025; the head dates it 2024.
Catalog record
| CREATOR | Yu [email protected], Bryce WangStanford [email protected] [email protected] |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 25 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2502-15688