There is a wide variety of data on the Internet that we can use however we want. Programmatic access to this data is often difficult, however, unless it is provided via a dedicated REST API. But with a Node.js tool like jsdom we can scrape and parse this data directly from the web pages in order to use it for our projects and applications.
An example of this would be MIDI data, which we need to train a neural network to generate music in the classic Nintendo style. To do this, we first need MIDI files with music from old Nintendo games. With jsdom we can get this data from the Video Game Music Archive.
#jsdom #node.js #html #web scraping