Blazquez Ochando, Manuel, Prieto-Gutierrez, Juan-Jose and Ovalle-Perandones, Maria-Antonia Prompt engineering for bibliographic web-scraping. Scientometrics, 2025, vol. 130, pp. 3433-3453. [Journal article (Paginated)]
| Preview | Text (English text) Prompt engineering for bibliographic web-scraping.pdf - Published version Available under License Creative Commons Attribution. Download (2MB) | Preview | 
English abstract
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.
| Item type: | Journal article (Paginated) | 
|---|---|
| Keywords: | Prompts, Scraping, Bibliographic catalogs, LLM, ChatGPT | 
| Subjects: | H. Information sources, supports, channels. > HR. Portals. H. Information sources, supports, channels. > HS. Repositories. | 
| Depositing user: | Juan José Prieto-Gutiérrez | 
| Date deposited: | 26 Oct 2025 08:11 | 
| Last modified: | 26 Oct 2025 08:11 | 
| URI: | http://hdl.handle.net/10760/47235 | 
References
Downloads
Downloads per month over past year
Actions (login required)
|  | View Item | 
 
                   
                 
                     
                     
                     
                     
                     
                   
                   
                   
                   
                   
                   
                   Facebook
 Facebook
                   Twitter
 Twitter
                   LinkedIn
 LinkedIn
                   RSS
 RSS