Saved in:
Bibliographic Details
Main Authors: Blázquez-Ochando, Manuel, Prieto-Gutiérrez, Juan José, Ovalle-Perandones, María Antonia
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2603.19237
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910060522766336
author Blázquez-Ochando, Manuel
Prieto-Gutiérrez, Juan José
Ovalle-Perandones, María Antonia
author_facet Blázquez-Ochando, Manuel
Prieto-Gutiérrez, Juan José
Ovalle-Perandones, María Antonia
contents Bibliographic catalogues store millions of data. The use of computer techniques such as web-scraping allows the extraction of data in an efficient and accurate manner. The recent emergence of ChatGPT is facilitating the development of suitable prompts that allow the configuration of scraping to identify and extract information from databases. The aim of this article is to define how to efficiently use prompts engineering to elaborate a suitable data entry model, able to generate in a single interaction with ChatGPT-4o, a fully functional web-scraper, programmed in PHP language, adapted to the case of bibliographic catalogues. As a demonstration example, the bibliographic catalogue of the National Library of Spain with a dataset of thousands of records is used. The findings present an effective model for developing web-scraping programs, assisted with AI and with the minimum possible interaction. The results obtained with the model indicate that the use of prompts with large language models (LLM) can improve the quality of scraping by understanding specific contexts and patterns, adapting to different formats and styles of presentation of bibliographic information.
format Preprint
id arxiv_https___arxiv_org_abs_2603_19237
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Prompt engineering for bibliographic web-scraping
Blázquez-Ochando, Manuel
Prieto-Gutiérrez, Juan José
Ovalle-Perandones, María Antonia
Digital Libraries
Bibliographic catalogues store millions of data. The use of computer techniques such as web-scraping allows the extraction of data in an efficient and accurate manner. The recent emergence of ChatGPT is facilitating the development of suitable prompts that allow the configuration of scraping to identify and extract information from databases. The aim of this article is to define how to efficiently use prompts engineering to elaborate a suitable data entry model, able to generate in a single interaction with ChatGPT-4o, a fully functional web-scraper, programmed in PHP language, adapted to the case of bibliographic catalogues. As a demonstration example, the bibliographic catalogue of the National Library of Spain with a dataset of thousands of records is used. The findings present an effective model for developing web-scraping programs, assisted with AI and with the minimum possible interaction. The results obtained with the model indicate that the use of prompts with large language models (LLM) can improve the quality of scraping by understanding specific contexts and patterns, adapting to different formats and styles of presentation of bibliographic information.
title Prompt engineering for bibliographic web-scraping
topic Digital Libraries
url https://arxiv.org/abs/2603.19237