IDEAS home Printed from https://ideas.repec.org/a/spr/scient/v130y2025i7d10.1007_s11192-025-05372-5.html
   My bibliography  Save this article

Prompt engineering for bibliographic web-scraping

Author

Listed:
  • Manuel Blázquez-Ochando

    (Universidad Complutense de Madrid)

  • Juan José Prieto-Gutiérrez

    (Universidad Complutense de Madrid)

  • María Antonia Ovalle-Perandones

    (Universidad Complutense de Madrid)

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.

Suggested Citation

  • Manuel Blázquez-Ochando & Juan José Prieto-Gutiérrez & María Antonia Ovalle-Perandones, 2025. "Prompt engineering for bibliographic web-scraping," Scientometrics, Springer;Akadémiai Kiadó, vol. 130(7), pages 3433-3453, July.
  • Handle: RePEc:spr:scient:v:130:y:2025:i:7:d:10.1007_s11192-025-05372-5
    DOI: 10.1007/s11192-025-05372-5
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s11192-025-05372-5
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s11192-025-05372-5?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to

    for a different version of it.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:spr:scient:v:130:y:2025:i:7:d:10.1007_s11192-025-05372-5. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.