Leveraging JavaScript, jQuery, and ChatGPT for Data Extraction from Web Tables

Authors

  • Alessandro Mantelli Università Ca' Foscari Venezia
  • Michele Pulini Università Ca' Foscari Venezia

DOI:

https://doi.org/10.15475/calcip.2023.1.5

Keywords:

ChatGPT, JavaScript, Old Chinese

Abstract

This case study explores the combined use of JavaScript, jQuery, and the  AI-driven tool ChatGPT to efficiently extract data from HTML tables,  specifically focusing on a website containing Middle Chinese and Old  Chinese readings of characters. The study provides a step-by-step guide  for accessing the website, utilizing browser developer tools,  implementing JavaScript and jQuery code, and leveraging ChatGPT to  refine the extraction process. By employing this methodology, the  extraction of Chinese characters and their corresponding readings from  an HTML table was automated, saving time and effort. The resulting data  was then imported into a Google Sheets document for further analysis.  This case study highlights the potential of AI-driven tools to enhance  web development tasks and streamline data extraction processes,  demonstrating their value for both technical and non-technical users.

Downloads

Published

2023-05-22

How to Cite

Mantelli , A. ., & Pulini, M. (2023). Leveraging JavaScript, jQuery, and ChatGPT for Data Extraction from Web Tables. Computer-Assisted Language Comparison in Practice, 6(1), 33–42. https://doi.org/10.15475/calcip.2023.1.5