Downloading artist artwork en masse from Discogs using MusicBrainz

I've started using Lightweight Music Server as my primary OpenSubsonic server for streaming my own music to my devices, and among other things one of its great features is that it allows you to download and link artist metadata using their MusicBrainz ID.