Web Page Classification using LLMs for Crawling Support

Yuichi Sasazawa, Yasuhiro Sogawa
5/11/2025
cs.IRcs.CL

No official code found. Best implementation: ckdjrkffz/web-page-classifier (1 star, Apache-2.0, last commit 2025-05-19).

Abstract

A web crawler is a system designed to collect web pages, and efficient crawling of new pages requires appropriate algorithms. While website features such as XML sitemaps and the frequency of past page updates provide important clues for accessing new pages, their universal application across diverse conditions is challenging. In this study, we propose a method to efficiently collect new pages by classifying web pages into two types, "Index Pages" and "Content Pages," using a large language model (LLM), and leveraging the classification results to select index pages as starting points for accessing new pages. We construct a dataset with automatically annotated web page types and evaluate our approach from two perspectives: the page type classification performance and coverage of new pages. Experimental results demonstrate that the LLM-based method outperformed baseline methods in both evaluation metrics.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
10PythonMay 4, 20251 years agoApache-2.0

Similar Papers

Cite this paper

@article{sasazawa2025page,
  title  = {Web Page Classification using LLMs for Crawling Support},
  author = {Yuichi Sasazawa and Yasuhiro Sogawa},
  year   = {2025},
  eprint = {2505.06972},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.06972v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.06972.svg)](https://codeofpaper.com/paper/2505.06972)

Discussion