shlogg · Early preview
Sam Agnew @sagnew

Beautiful Soup Scrapes MIDI Files From Video Game Music Archive

Beautiful Soup makes web scraping easy. Grab data from web pages & access 2,200+ MIDI files from Video Game Music Archive for projects like cleaning up data with Mido or generating new music with Magenta.

The internet has an amazingly wide variety of information for human consumption. But this data is often difficult to access programmatically if it doesn't come in the form of a dedicated REST API. With Python tools like Beautiful Soup, you can scrape and parse this data directly from web pages to use for your projects and applications.
Let's use the example of scraping MIDI data from the internet to train a neural network with Magenta that can generate classic Nintendo-sounding music. In order to do this, we'll need a set of MIDI music from old Nintendo games. Using Beautiful Soup we can get t...